diff --git a/scripts/demo/d3-data.sql b/scripts/demo/d3-data.sql index ad732490..ba98a601 100644 --- a/scripts/demo/d3-data.sql +++ b/scripts/demo/d3-data.sql @@ -1,410 +1,401 @@ -INSERT INTO "public"."workbooks" ("workbook_id", "title", "description", "project_id", "tenant_id", "meta", "created_by", "created_at", "deleted_at", "is_template", "collection_id", "deleted_by", "updated_by", "updated_at", "title_lower", "sort_title") VALUES -(1507164764046888724, 'OpensourceDemo', '', NULL, 'common', '{}', 'systemId', '2023-09-11 11:47:20.751846+03', NULL, 'f', NULL, NULL, 'systemId', '2023-09-11 11:47:20.751846+03', 'opensourcedemo', '\x4f70656e736f7572636544656d6f'); +INSERT INTO public.workbooks (workbook_id, title, description, project_id, tenant_id, meta, created_by, created_at, deleted_at, is_template, collection_id, deleted_by, updated_by, updated_at, title_lower, sort_title) VALUES + (1507164764046888724, 'OpensourceDemo', '', NULL, 'common', '{}', 'systemId', '2023-09-11 08:47:20.751846+00', NULL, false, NULL, NULL, 'systemId', '2023-09-11 08:47:20.751846+00', 'opensourcedemo', '\x4f70656e736f7572636544656d6f'); -INSERT INTO "public"."entries" ("scope", "type", "key", "inner_meta", "created_by", "created_at", "updated_by", "updated_at", "is_deleted", "deleted_at", "hidden", "display_key", "entry_id", "saved_id", "published_id", "tenant_id", "name", "sort_name", "public", "unversioned_data", "workbook_id") VALUES -('connection', 'ch_frozen_demo', '__trash/1507164766655745813_Demo Dashboard. Connection', '{"oldKey": "1507164766655745813/demo dashboard. connection", "oldDisplayKey": "1507164766655745813/Demo Dashboard. Connection"}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-14 16:28:38.641703+03', 't', '2023-09-14 16:28:38.641703+03', 'f', '__trash/1507164766655745813_Demo Dashboard. Connection', 1507164766655745813, 1507164766655745814, NULL, 'common', '1507164766655745813_Demo Dashboard. Connection', '\x32313931353037313634373636363535373435383133002144656d6f2044617368626f6172642e20436f6e6e656374696f6e', 'f', '{"password": null}', 1507164764046888724), -('dataset', '', '1507164767695933207/cohorts', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164767695933207/Cohorts', 1507164767695933207, 1509479774060283664, NULL, 'common', 'cohorts', '\x636f686f727473', 'f', '{}', 1507164764046888724), -('dataset', '', '1507164769826639651/orders', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769826639651/Orders', 1507164769826639651, 1509465520934487792, NULL, 'common', 'orders', '\x6f7264657273', 'f', '{}', 1507164764046888724), -('connection', 'clickhouse', '1510137996244943888/ch', NULL, 'uid:systemId', '2023-09-15 14:14:37.634851+03', 'uid:systemId', '2023-09-15 14:14:37.634851+03', 'f', NULL, 'f', '1510137996244943888/ch', 1510137996244943888, 1510137996244943889, NULL, 'common', 'ch', '\x6368', 'f', '{"password": {"key_id": "key_1", "key_kind": "local_fernet", "cypher_text": "gAAAAABlBDyd2TBjo-SSK6lIPcnZANo28Krs9jcsY0angf0kY1hgApa3NKrDuhBINq9-OnBVTmGWAJNhMG_nABOJ70rZARxUN0Py8-zAVdtFTjEdi11tltM="}}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507189203752980463/sales by regions', NULL, 'uid:systemId', '2023-09-11 12:35:54.179495+03', 'uid:systemId', '2023-09-11 12:35:54.273409+03', 'f', NULL, 'f', '1507189203752980463/Sales by regions', 1507189203752980463, 1507189203752980462, 1507189203752980462, 'common', 'sales by regions', '\x73616c657320627920726567696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164789036552159/demo: delivered, % in time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164789036552159/Demo: Delivered, % in time', 1507164789036552159, 1507164789036552160, 1507164789036552160, 'common', 'demo: delivered, % in time', '\x64656d6f3a2064656c6976657265642c202520696e2074696d65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164788860391390/demo: quantity', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788860391390/Demo: Quantity', 1507164788860391390, 1507164788860391389, 1507164788860391389, 'common', 'demo: quantity', '\x64656d6f3a207175616e74697479', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164788675842012/demo: delivered %', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788675842012/Demo: Delivered %', 1507164788675842012, 1507164788675842011, 1507164788675842011, 'common', 'demo: delivered %', '\x64656d6f3a2064656c6976657265642025', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164788449349594/charts: area chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788449349594/Charts: Area chart', 1507164788449349594, 1507164788449349593, 1507164788449349593, 'common', 'charts: area chart', '\x6368617274733a2061726561206368617274', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164788273188823/maps: polygons', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788273188823/Maps: Polygons', 1507164788273188823, 1507164788273188824, 1507164788273188824, 'common', 'maps: polygons', '\x6d6170733a20706f6c79676f6e73', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164788097028053/cohorts: basic', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788097028053/Cohorts: Basic', 1507164788097028053, 1507164788097028054, 1507164788097028054, 'common', 'cohorts: basic', '\x636f686f7274733a206261736963', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164787895701460/formating: url and table formating', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787895701460/Formating: URL and table formating', 1507164787895701460, 1507164787895701459, 1507164787895701459, 'common', 'formating: url and table formating', '\x666f726d6174696e673a2075726c20616e64207461626c6520666f726d6174696e67', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164787719540690/parameters: scale and ago', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787719540690/Parameters: Scale and AGO', 1507164787719540690, 1507164787719540689, 1507164787719540689, 'common', 'parameters: scale and ago', '\x706172616d65746572733a207363616c6520616e642061676f', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164787534991312/charts: table with bars', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787534991312/Charts: Table with bars', 1507164787534991312, 1507164787534991311, 1507164787534991311, 'common', 'charts: table with bars', '\x6368617274733a207461626c6520776974682062617273', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164787358830542/charts: treemap', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787358830542/Charts: Treemap', 1507164787358830542, 1507164787358830541, 1507164787358830541, 'common', 'charts: treemap', '\x6368617274733a20747265656d6170', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164787174281163/charts: comb plan and fact', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787174281163/Charts: Comb Plan and Fact', 1507164787174281163, 1507164787174281164, 1507164787174281164, 'common', 'charts: comb plan and fact', '\x6368617274733a20636f6d6220706c616e20616e642066616374', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164786998120393/window functions: last label', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786998120393/Window functions: Last label', 1507164786998120393, 1507164786998120394, 1507164786998120394, 'common', 'window functions: last label', '\x77696e646f772066756e6374696f6e733a206c617374206c6162656c', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164786805182407/demo: map 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786805182407/Demo: Map 2', 1507164786805182407, 1507164786805182408, 1507164786805182408, 'common', 'demo: map 2', '\x64656d6f3a206d61702000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164786629021638/date functions: datetrunc', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786629021638/Date functions: Datetrunc', 1507164786629021638, 1507164786629021637, 1507164786629021637, 'common', 'date functions: datetrunc', '\x646174652066756e6374696f6e733a20646174657472756e63', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164775186960209/maps: points', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775186960209/Maps: Points', 1507164775186960209, 1507164775186960210, 1507164775186960210, 'common', 'maps: points', '\x6d6170733a20706f696e7473', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164786217979841/charts: scatterplot', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786217979841/Charts: Scatterplot', 1507164786217979841, 1514450816470090777, 1514450816470090777, 'common', 'charts: scatterplot', '\x6368617274733a2073636174746572706c6f74', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164786041819072/date functions: ago 1m', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786041819072/Date functions: AGO 1M', 1507164786041819072, 1507164786041819071, 1507164786041819071, 'common', 'date functions: ago 1m', '\x646174652066756e6374696f6e733a2061676f2000313131006d', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164785857269694/charts: table simple', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785857269694/Charts: Table simple', 1507164785857269694, 1507164785857269693, 1507164785857269693, 'common', 'charts: table simple', '\x6368617274733a207461626c652073696d706c65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164780035575681/demo: avg sales', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780035575681/Demo: Avg sales', 1507164780035575681, 1507164780035575682, 1507164780035575682, 'common', 'demo: avg sales', '\x64656d6f3a206176672073616c6573', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164785655943099/cohorts: abs and retention', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785655943099/Cohorts: Abs and Retention', 1507164785655943099, 1507164785655943100, 1507164785655943100, 'common', 'cohorts: abs and retention', '\x636f686f7274733a2061627320616e6420726574656e74696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164785236512696/charts: normalized bar chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785236512696/Charts: Normalized bar chart', 1507164785236512696, 1507164785236512695, 1507164785236512695, 'common', 'charts: normalized bar chart', '\x6368617274733a206e6f726d616c697a656420626172206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164785051963318/demo: top products', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785051963318/Demo: Top products', 1507164785051963318, 1507164785051963317, 1507164785051963317, 'common', 'demo: top products', '\x64656d6f3a20746f702070726f6475637473', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164784867413939/window functions: before filter by', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784867413939/Window functions: Before Filter By', 1507164784867413939, 1507164784867413940, 1507164784867413940, 'common', 'window functions: before filter by', '\x77696e646f772066756e6374696f6e733a206265666f72652066696c746572206279', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164784691253169/demo: clients', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784691253169/Demo: Clients', 1507164784691253169, 1507164784691253170, 1507164784691253170, 'common', 'demo: clients', '\x64656d6f3a20636c69656e7473', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164784498315184/demo: avg shipping time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784498315184/Demo: Avg shipping time', 1507164784498315184, 1507164784498315183, 1507164784498315183, 'common', 'demo: avg shipping time', '\x64656d6f3a20617667207368697070696e672074696d65', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164784322154413/maps: clusters', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784322154413/Maps: Clusters', 1507164784322154413, 1507164784322154414, 1507164784322154414, 'common', 'maps: clusters', '\x6d6170733a20636c757374657273', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164784137605036/date functions: datepart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784137605036/Date functions: Datepart', 1507164784137605036, 1507164784137605035, 1507164784137605035, 'common', 'date functions: datepart', '\x646174652066756e6374696f6e733a206461746570617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164783944667049/window functions: nested window functions', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783944667049/Window functions: Nested window functions', 1507164783944667049, 1507164783944667050, 1507164783944667050, 'common', 'window functions: nested window functions', '\x77696e646f772066756e6374696f6e733a206e65737465642077696e646f772066756e6374696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164783760117671/window functions: top 3 each category', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783760117671/Window functions: Top 3 each category', 1507164783760117671, 1507164783760117672, 1507164783760117672, 'common', 'window functions: top 3 each category', '\x77696e646f772066756e6374696f6e733a20746f7020003131330020656163682063617465676f7279', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164783558791078/charts: combo with average', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783558791078/Charts: Combo with average', 1507164783558791078, 1507164783558791077, 1507164783558791077, 'common', 'charts: combo with average', '\x6368617274733a20636f6d626f20776974682061766572616765', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164783357464484/demo: table by regions', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783357464484/Demo: Table by regions', 1507164783357464484, 1507164783357464483, 1507164783357464483, 'common', 'demo: table by regions', '\x64656d6f3a207461626c6520627920726567696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164783164526497/formating: bars with emoji', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783164526497/Formating: Bars with emoji', 1507164783164526497, 1507164783164526498, 1507164783164526498, 'common', 'formating: bars with emoji', '\x666f726d6174696e673a2062617273207769746820656d6f6a69', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164782971588511/demo: shipping time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782971588511/Demo: Shipping time', 1507164782971588511, 1507164782979977120, 1507164782979977120, 'common', 'demo: shipping time', '\x64656d6f3a207368697070696e672074696d65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164782493437851/demo: platforms in time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782493437851/Demo: Platforms in time', 1507164782493437851, 1507164782493437852, 1507164782493437852, 'common', 'demo: platforms in time', '\x64656d6f3a20706c6174666f726d7320696e2074696d65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164782317277082/demo: sales', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782317277082/Demo: Sales', 1507164782317277082, 1507164782317277081, 1507164782317277081, 'common', 'demo: sales', '\x64656d6f3a2073616c6573', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164782074007448/parameters: scale full period', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782074007448/Parameters: Scale full period', 1507164782074007448, 1507164782074007447, 1507164782074007447, 'common', 'parameters: scale full period', '\x706172616d65746572733a207363616c652066756c6c20706572696f64', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164781855903637/charts: bar chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781855903637/Charts: Bar chart', 1507164781855903637, 1507164781855903638, 1507164781855903638, 'common', 'charts: bar chart', '\x6368617274733a20626172206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164781662965651/lod: fixed', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781662965651/LOD: FIXED', 1507164781662965651, 1507164781662965652, 1507164781662965652, 'common', 'lod: fixed', '\x6c6f643a206669786564', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164781478416273/date functions: navigator', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781478416273/Date functions: Navigator', 1507164781478416273, 1507164781478416274, 1507164781478416274, 'common', 'date functions: navigator', '\x646174652066756e6374696f6e733a206e6176696761746f72', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164781302255504/cohorts: abs values', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781302255504/Cohorts: Abs values', 1507164781302255504, 1507164781302255503, 1507164781302255503, 'common', 'cohorts: abs values', '\x636f686f7274733a206162732076616c756573', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164781126094733/window functions: running sum', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781126094733/Window functions: Running sum', 1507164781126094733, 1507164781126094734, 1507164781126094734, 'common', 'window functions: running sum', '\x77696e646f772066756e6374696f6e733a2072756e6e696e672073756d', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780933156747/hierarchy: pie chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780933156747/Hierarchy: Pie chart', 1507164780933156747, 1507164780933156748, 1507164780933156748, 'common', 'hierarchy: pie chart', '\x6869657261726368793a20706965206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780748607369/hierarchy: line chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780748607369/Hierarchy: Line chart', 1507164780748607369, 1507164780748607370, 1507164780748607370, 'common', 'hierarchy: line chart', '\x6869657261726368793a206c696e65206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780564057991/parameters: currency calculator', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780564057991/Parameters: Currency calculator', 1507164780564057991, 1507164780564057992, 1507164780564057992, 'common', 'parameters: currency calculator', '\x706172616d65746572733a2063757272656e63792063616c63756c61746f72', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164780379508613/demo: table by region 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780379508613/Demo: Table by Region 2', 1507164780379508613, 1507164780379508614, 1507164780379508614, 'common', 'demo: table by region 2', '\x64656d6f3a207461626c6520627920726567696f6e2000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780203347843/charts: bar chart 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780203347843/Charts: Bar chart 2', 1507164780203347843, 1507164780203347844, 1507164780203347844, 'common', 'charts: bar chart 2', '\x6368617274733a206261722063686172742000313132', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164779851026303/demo: map 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779851026303/Demo: Map 3', 1507164779851026303, 1507164779851026304, 1507164779851026304, 'common', 'demo: map 3', '\x64656d6f3a206d61702000313133', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164779490316155/lod: include and arg_max', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779490316155/LOD: INCLUDE and ARG_MAX', 1507164779490316155, 1507164779490316156, 1507164779490316156, 'common', 'lod: include and arg_max', '\x6c6f643a20696e636c75646520616e6420617267216d6178', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164779255435129/charts: indicator 1', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779255435129/Charts: Indicator 1', 1507164779255435129, 1507164779255435130, 1507164779255435130, 'common', 'charts: indicator 1', '\x6368617274733a20696e64696361746f722000313131', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164779020554103/chats: unstacked area chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779020554103/Chats: Unstacked area chart', 1507164779020554103, 1507164779020554104, 1507164779020554104, 'common', 'chats: unstacked area chart', '\x63686174733a20756e737461636b65642061726561206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164778810838901/charts: pivot table', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778810838901/Charts: Pivot table', 1507164778810838901, 1507164778810838902, 1507164778810838902, 'common', 'charts: pivot table', '\x6368617274733a207069766f74207461626c65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164778617900916/charts: dual axis', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778617900916/Charts: Dual axis', 1507164778617900916, 1507164778617900915, 1507164778617900915, 'common', 'charts: dual axis', '\x6368617274733a206475616c2061786973', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164778198470513/maps: multiple layers', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778198470513/Maps: Multiple layers', 1507164778198470513, 1507164778198470514, 1507164778198470514, 'common', 'maps: multiple layers', '\x6d6170733a206d756c7469706c65206c6179657273', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164778013921135/charts: split by region', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778013921135/Charts: Split by region', 1507164778013921135, 1507164778013921136, 1507164778013921136, 'common', 'charts: split by region', '\x6368617274733a2073706c697420627920726567696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164777820983149/charts: split', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777820983149/Charts: Split', 1507164777820983149, 1507164777820983150, 1507164777820983150, 'common', 'charts: split', '\x6368617274733a2073706c6974', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164777628045163/date functions: ago mom', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777628045163/Date functions: AGO MoM', 1507164777628045163, 1507164777628045164, 1507164777628045164, 'common', 'date functions: ago mom', '\x646174652066756e6374696f6e733a2061676f206d6f6d', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164777443495785/maps: heatmap', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777443495785/Maps: Heatmap', 1507164777443495785, 1507164777443495786, 1507164777443495786, 'common', 'maps: heatmap', '\x6d6170733a20686561746d6170', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164777258946408/date functions: lag', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777258946408/Date functions: LAG', 1507164777258946408, 1507164777250557799, 1507164777250557799, 'common', 'date functions: lag', '\x646174652066756e6374696f6e733a206c6167', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164777074397029/cohorts: data', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777074397029/Cohorts: Data', 1507164777074397029, 1507164777082785638, 1507164777082785638, 'common', 'cohorts: data', '\x636f686f7274733a2064617461', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776889847651/demo: sales in time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776889847651/Demo: Sales in time', 1507164776889847651, 1507164776889847652, 1507164776889847652, 'common', 'demo: sales in time', '\x64656d6f3a2073616c657320696e2074696d65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776705298273/formatting: text with line brakes', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776705298273/Formatting: Text with line brakes', 1507164776705298273, 1507164776705298274, 1507164776705298274, 'common', 'formatting: text with line brakes', '\x666f726d617474696e673a20746578742077697468206c696e65206272616b6573', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164776512360288/lod: include', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776512360288/LOD: INCLUDE', 1507164776512360288, 1507164776512360287, 1507164776512360287, 'common', 'lod: include', '\x6c6f643a20696e636c756465', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776327810910/hierarchy: bar chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776327810910/Hierarchy: Bar chart', 1507164776327810910, 1507164776327810909, 1507164776327810909, 'common', 'hierarchy: bar chart', '\x6869657261726368793a20626172206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776151650139/charts: bar chart 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776151650139/Charts: Bar chart 3', 1507164776151650139, 1507164776151650140, 1507164776151650140, 'common', 'charts: bar chart 3', '\x6368617274733a206261722063686172742000313133', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164775967100761/window functions: max for each year', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775967100761/Window functions: Max for each year', 1507164775967100761, 1507164775967100762, 1507164775967100762, 'common', 'window functions: max for each year', '\x77696e646f772066756e6374696f6e733a206d617820666f7220656163682079656172', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164775782551383/hierarchy: table', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775782551383/Hierarchy: Table', 1507164775782551383, 1507164775790939992, 1507164775790939992, 'common', 'hierarchy: table', '\x6869657261726368793a207461626c65', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164775564447573/map: polygons 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775564447573/Map: Polygons 2', 1507164775564447573, 1507164775572836182, 1507164775572836182, 'common', 'map: polygons 2', '\x6d61703a20706f6c79676f6e732000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164775002410831/charts: normalized area chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775002410831/Charts: Normalized area chart', 1507164775002410831, 1507164775010799440, 1507164775010799440, 'common', 'charts: normalized area chart', '\x6368617274733a206e6f726d616c697a65642061726561206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164774750752590/window functions: percent of total 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164774750752590/Window functions: Percent of total 2', 1507164774750752590, 1507164774742363981, 1507164774742363981, 'common', 'window functions: percent of total 2', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c2000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164774415208267/charts: column chart 4', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164774415208267/Charts: Column chart 4', 1507164774415208267, 1507164774448762700, 1507164774448762700, 'common', 'charts: column chart 4', '\x6368617274733a20636f6c756d6e2063686172742000313134', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164774129995594/charts: combo reference line', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164774129995594/Charts: Combo reference line', 1507164774129995594, 1507164774129995593, 1507164774129995593, 'common', 'charts: combo reference line', '\x6368617274733a20636f6d626f207265666572656e6365206c696e65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164773886725959/charts: indicator 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773886725959/Charts: Indicator 2', 1507164773886725959, 1507164773886725960, 1507164773886725960, 'common', 'charts: indicator 2', '\x6368617274733a20696e64696361746f722000313132', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164773718953797/demo: clients 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773718953797/Demo: Clients 2', 1507164773718953797, 1507164773718953798, 1507164773718953798, 'common', 'demo: clients 2', '\x64656d6f3a20636c69656e74732000313132', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164773542793027/window functions: lag by dimension', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773542793027/Window functions: LAG by dimension', 1507164773542793027, 1507164773542793028, 1507164773542793028, 'common', 'window functions: lag by dimension', '\x77696e646f772066756e6374696f6e733a206c61672062792064696d656e73696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164773349855041/window functions: moving average 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773349855041/Window functions: Moving average 3', 1507164773349855041, 1507164773349855042, 1507164773349855042, 'common', 'window functions: moving average 3', '\x77696e646f772066756e6374696f6e733a206d6f76696e6720617665726167652000313133', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164773123362623/demo: platform share', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773123362623/Demo: Platform share', 1507164773123362623, 1507164773123362624, 1507164773123362624, 'common', 'demo: platform share', '\x64656d6f3a20706c6174666f726d207368617265', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164772947201853/window functions: rank', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772947201853/Window functions: Rank', 1507164772947201853, 1507164772947201854, 1507164772947201854, 'common', 'window functions: rank', '\x77696e646f772066756e6374696f6e733a2072616e6b', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164772569714489/charts: donut chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772569714489/Charts: Donut chart', 1507164772569714489, 1507164772569714490, 1507164772569714490, 'common', 'charts: donut chart', '\x6368617274733a20646f6e7574206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164772267724599/charts: bar chart 5', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772267724599/Charts: Bar chart 5', 1507164772267724599, 1507164772267724600, 1507164772267724600, 'common', 'charts: bar chart 5', '\x6368617274733a206261722063686172742000313135', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771974123317/charts: line chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771974123317/Charts: Line chart', 1507164771974123317, 1507164771974123318, 1507164771974123318, 'common', 'charts: line chart', '\x6368617274733a206c696e65206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771747630899/charts: bar chart 4', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771747630899/Charts: Bar chart 4', 1507164771747630899, 1507164771747630900, 1507164771747630900, 'common', 'charts: bar chart 4', '\x6368617274733a206261722063686172742000313134', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771294646065/date functions: simple dates', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771294646065/Date functions: simple dates', 1507164771294646065, 1507164771303034674, 1507164771303034674, 'common', 'date functions: simple dates', '\x646174652066756e6374696f6e733a2073696d706c65206461746573', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771110096687/charts: normalized column chart 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771110096687/Charts: Normalized column chart 2', 1507164771110096687, 1507164771118485296, 1507164771118485296, 'common', 'charts: normalized column chart 2', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e2063686172742000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164770850049837/charts: normalized column chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770850049837/Charts: Normalized column chart', 1507164770850049837, 1507164770850049838, 1507164770850049838, 'common', 'charts: normalized column chart', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164770648723243/parameters: scale', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770648723243/Parameters: Scale', 1507164770648723243, 1507164770648723244, 1507164770648723244, 'common', 'parameters: scale', '\x706172616d65746572733a207363616c65', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164770464173865/parameters: select dimension', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770464173865/Parameters: Select dimension', 1507164770464173865, 1507164770464173866, 1507164770464173866, 'common', 'parameters: select dimension', '\x706172616d65746572733a2073656c6563742064696d656e73696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164770254458663/charts: combo chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770254458663/Charts: Combo chart', 1507164770254458663, 1507164770254458664, 1507164770254458664, 'common', 'charts: combo chart', '\x6368617274733a20636f6d626f206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164770061520677/demo: table by categories', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770061520677/Demo: Table by categories', 1507164770061520677, 1507164770061520678, 1507164770061520678, 'common', 'demo: table by categories', '\x64656d6f3a207461626c652062792063617465676f72696573', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164769633701665/window functions: moving average', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769633701665/Window functions: Moving average', 1507164769633701665, 1507164769633701666, 1507164769633701666, 'common', 'window functions: moving average', '\x77696e646f772066756e6374696f6e733a206d6f76696e672061766572616765', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164769197494045/maps: polygons 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769197494045/Maps: Polygons 3', 1507164769197494045, 1507164769197494046, 1507164769197494046, 'common', 'maps: polygons 3', '\x6d6170733a20706f6c79676f6e732000313133', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164772762652475/date functions: calendar table', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772762652475/Date functions: Calendar table', 1507164772762652475, 1514454229241037853, 1514454229241037853, 'common', 'date functions: calendar table', '\x646174652066756e6374696f6e733a2063616c656e646172207461626c65', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164785421062073/charts: pie chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785421062073/Charts: Pie chart', 1507164785421062073, 1514450239963005975, 1514450239963005975, 'common', 'charts: pie chart', '\x6368617274733a20706965206368617274', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164779666476925/charts: column chart 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779666476925/Charts: Column chart 2', 1507164779666476925, 1514568023736845339, 1514568023736845339, 'common', 'charts: column chart 2', '\x6368617274733a20636f6c756d6e2063686172742000313132', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507171345740337126/scatter by regions', NULL, 'uid:systemId', '2023-09-11 12:00:25.337536+03', 'uid:systemId', '2023-09-11 12:00:25.532893+03', 'f', NULL, 'f', '1507171345740337126/Scatter by regions', 1507171345740337126, 1514569657778963487, 1514569657778963487, 'common', 'scatter by regions', '\x7363617474657220627920726567696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164769407209247/charts: column chart 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769407209247/Charts: Column chart 3', 1507164769407209247, 1514568753797399581, 1514568753797399581, 'common', 'charts: column chart 3', '\x6368617274733a20636f6c756d6e2063686172742000313133', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164786444472259/charts: column chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786444472259/Charts: Column chart', 1507164786444472259, 1514567908636754970, 1514567908636754970, 'common', 'charts: column chart', '\x6368617274733a20636f6c756d6e206368617274', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164782770261917/hierarchy: date drill down', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782770261917/Hierarchy: Date drill down', 1507164782770261917, 1514569100272075806, 1514569100272075806, 'common', 'hierarchy: date drill down', '\x6869657261726368793a2064617465206472696c6c20646f776e', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164768249581337/window functions: percent of total', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164768249581337/Window functions: Percent of total', 1507164768249581337, 1514571204990600230, 1514571204990600230, 'common', 'window functions: percent of total', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c', 'f', '{}', 1507164764046888724), -('widget', 'd3_wizard_node', '1507164775379898195/selectors: sales by platform', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775379898195/Selectors: Sales by platform', 1507164775379898195, 1514618656728810514, 1514618656728810514, 'common', 'selectors: sales by platform', '\x73656c6563746f72733a2073616c657320627920706c6174666f726d', 'f', '{}', 1507164764046888724), -('dash', '', '1507164768509628187/datalens demo', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164768509628187/DataLens Demo', 1507164768509628187, 1514645201069540374, 1514645201069540374, 'common', 'datalens demo', '\x646174616c656e732064656d6f', 'f', '{}', 1507164764046888724); +INSERT INTO public.entries (scope, type, key, inner_meta, created_by, created_at, updated_by, updated_at, is_deleted, deleted_at, hidden, display_key, entry_id, saved_id, published_id, tenant_id, name, sort_name, public, unversioned_data, workbook_id) VALUES + ('connection', 'ch_frozen_demo', '__trash/1507164766655745813_Demo Dashboard. Connection', '{"oldKey": "1507164766655745813/demo dashboard. connection", "oldDisplayKey": "1507164766655745813/Demo Dashboard. Connection"}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-14 13:28:38.641703+00', true, '2023-09-14 13:28:38.641703+00', false, '__trash/1507164766655745813_Demo Dashboard. Connection', 1507164766655745813, 1507164766655745814, NULL, 'common', '1507164766655745813_Demo Dashboard. Connection', '\x32313931353037313634373636363535373435383133002144656d6f2044617368626f6172642e20436f6e6e656374696f6e', false, '{"password": null}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507189203752980463/sales by regions', NULL, 'uid:systemId', '2023-09-11 09:35:54.179495+00', 'uid:systemId', '2023-09-11 09:35:54.273409+00', false, NULL, false, '1507189203752980463/Sales by regions', 1507189203752980463, 1507189203752980462, 1507189203752980462, 'common', 'sales by regions', '\x73616c657320627920726567696f6e73', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164789036552159/demo: delivered, % in time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164789036552159/Demo: Delivered, % in time', 1507164789036552159, 1507164789036552160, 1507164789036552160, 'common', 'demo: delivered, % in time', '\x64656d6f3a2064656c6976657265642c202520696e2074696d65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164788860391390/demo: quantity', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788860391390/Demo: Quantity', 1507164788860391390, 1507164788860391389, 1507164788860391389, 'common', 'demo: quantity', '\x64656d6f3a207175616e74697479', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164788675842012/demo: delivered %', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788675842012/Demo: Delivered %', 1507164788675842012, 1507164788675842011, 1507164788675842011, 'common', 'demo: delivered %', '\x64656d6f3a2064656c6976657265642025', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164788449349594/charts: area chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788449349594/Charts: Area chart', 1507164788449349594, 1507164788449349593, 1507164788449349593, 'common', 'charts: area chart', '\x6368617274733a2061726561206368617274', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164788273188823/maps: polygons', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788273188823/Maps: Polygons', 1507164788273188823, 1507164788273188824, 1507164788273188824, 'common', 'maps: polygons', '\x6d6170733a20706f6c79676f6e73', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164788097028053/cohorts: basic', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788097028053/Cohorts: Basic', 1507164788097028053, 1507164788097028054, 1507164788097028054, 'common', 'cohorts: basic', '\x636f686f7274733a206261736963', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164787895701460/formating: url and table formating', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787895701460/Formating: URL and table formating', 1507164787895701460, 1507164787895701459, 1507164787895701459, 'common', 'formating: url and table formating', '\x666f726d6174696e673a2075726c20616e64207461626c6520666f726d6174696e67', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164787719540690/parameters: scale and ago', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787719540690/Parameters: Scale and AGO', 1507164787719540690, 1507164787719540689, 1507164787719540689, 'common', 'parameters: scale and ago', '\x706172616d65746572733a207363616c6520616e642061676f', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164787534991312/charts: table with bars', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787534991312/Charts: Table with bars', 1507164787534991312, 1507164787534991311, 1507164787534991311, 'common', 'charts: table with bars', '\x6368617274733a207461626c6520776974682062617273', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164787358830542/charts: treemap', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787358830542/Charts: Treemap', 1507164787358830542, 1507164787358830541, 1507164787358830541, 'common', 'charts: treemap', '\x6368617274733a20747265656d6170', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164787174281163/charts: comb plan and fact', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787174281163/Charts: Comb Plan and Fact', 1507164787174281163, 1507164787174281164, 1507164787174281164, 'common', 'charts: comb plan and fact', '\x6368617274733a20636f6d6220706c616e20616e642066616374', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164786998120393/window functions: last label', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786998120393/Window functions: Last label', 1507164786998120393, 1507164786998120394, 1507164786998120394, 'common', 'window functions: last label', '\x77696e646f772066756e6374696f6e733a206c617374206c6162656c', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164786805182407/demo: map 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786805182407/Demo: Map 2', 1507164786805182407, 1507164786805182408, 1507164786805182408, 'common', 'demo: map 2', '\x64656d6f3a206d61702000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164786629021638/date functions: datetrunc', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786629021638/Date functions: Datetrunc', 1507164786629021638, 1507164786629021637, 1507164786629021637, 'common', 'date functions: datetrunc', '\x646174652066756e6374696f6e733a20646174657472756e63', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164775186960209/maps: points', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775186960209/Maps: Points', 1507164775186960209, 1507164775186960210, 1507164775186960210, 'common', 'maps: points', '\x6d6170733a20706f696e7473', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164786217979841/charts: scatterplot', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786217979841/Charts: Scatterplot', 1507164786217979841, 1514450816470090777, 1514450816470090777, 'common', 'charts: scatterplot', '\x6368617274733a2073636174746572706c6f74', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164786041819072/date functions: ago 1m', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786041819072/Date functions: AGO 1M', 1507164786041819072, 1507164786041819071, 1507164786041819071, 'common', 'date functions: ago 1m', '\x646174652066756e6374696f6e733a2061676f2000313131006d', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164785857269694/charts: table simple', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785857269694/Charts: Table simple', 1507164785857269694, 1507164785857269693, 1507164785857269693, 'common', 'charts: table simple', '\x6368617274733a207461626c652073696d706c65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164780035575681/demo: avg sales', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780035575681/Demo: Avg sales', 1507164780035575681, 1507164780035575682, 1507164780035575682, 'common', 'demo: avg sales', '\x64656d6f3a206176672073616c6573', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164785655943099/cohorts: abs and retention', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785655943099/Cohorts: Abs and Retention', 1507164785655943099, 1507164785655943100, 1507164785655943100, 'common', 'cohorts: abs and retention', '\x636f686f7274733a2061627320616e6420726574656e74696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164785236512696/charts: normalized bar chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785236512696/Charts: Normalized bar chart', 1507164785236512696, 1507164785236512695, 1507164785236512695, 'common', 'charts: normalized bar chart', '\x6368617274733a206e6f726d616c697a656420626172206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164785051963318/demo: top products', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785051963318/Demo: Top products', 1507164785051963318, 1507164785051963317, 1507164785051963317, 'common', 'demo: top products', '\x64656d6f3a20746f702070726f6475637473', false, '{}', 1507164764046888724), + ('dataset', '', '1507164769826639651/orders', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769826639651/Orders', 1507164769826639651, 1560965172305069060, 1560965172305069060, 'common', 'orders', '\x6f7264657273', false, '{}', 1507164764046888724), + ('dataset', '', '1507164767695933207/cohorts', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164767695933207/Cohorts', 1507164767695933207, 1560965520767845382, 1560965520767845382, 'common', 'cohorts', '\x636f686f727473', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164784867413939/window functions: before filter by', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784867413939/Window functions: Before Filter By', 1507164784867413939, 1507164784867413940, 1507164784867413940, 'common', 'window functions: before filter by', '\x77696e646f772066756e6374696f6e733a206265666f72652066696c746572206279', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164784691253169/demo: clients', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784691253169/Demo: Clients', 1507164784691253169, 1507164784691253170, 1507164784691253170, 'common', 'demo: clients', '\x64656d6f3a20636c69656e7473', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164784498315184/demo: avg shipping time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784498315184/Demo: Avg shipping time', 1507164784498315184, 1507164784498315183, 1507164784498315183, 'common', 'demo: avg shipping time', '\x64656d6f3a20617667207368697070696e672074696d65', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164784322154413/maps: clusters', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784322154413/Maps: Clusters', 1507164784322154413, 1507164784322154414, 1507164784322154414, 'common', 'maps: clusters', '\x6d6170733a20636c757374657273', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164784137605036/date functions: datepart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784137605036/Date functions: Datepart', 1507164784137605036, 1507164784137605035, 1507164784137605035, 'common', 'date functions: datepart', '\x646174652066756e6374696f6e733a206461746570617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164783944667049/window functions: nested window functions', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783944667049/Window functions: Nested window functions', 1507164783944667049, 1507164783944667050, 1507164783944667050, 'common', 'window functions: nested window functions', '\x77696e646f772066756e6374696f6e733a206e65737465642077696e646f772066756e6374696f6e73', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164783760117671/window functions: top 3 each category', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783760117671/Window functions: Top 3 each category', 1507164783760117671, 1507164783760117672, 1507164783760117672, 'common', 'window functions: top 3 each category', '\x77696e646f772066756e6374696f6e733a20746f7020003131330020656163682063617465676f7279', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164783558791078/charts: combo with average', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783558791078/Charts: Combo with average', 1507164783558791078, 1507164783558791077, 1507164783558791077, 'common', 'charts: combo with average', '\x6368617274733a20636f6d626f20776974682061766572616765', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164783357464484/demo: table by regions', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783357464484/Demo: Table by regions', 1507164783357464484, 1507164783357464483, 1507164783357464483, 'common', 'demo: table by regions', '\x64656d6f3a207461626c6520627920726567696f6e73', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164783164526497/formating: bars with emoji', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783164526497/Formating: Bars with emoji', 1507164783164526497, 1507164783164526498, 1507164783164526498, 'common', 'formating: bars with emoji', '\x666f726d6174696e673a2062617273207769746820656d6f6a69', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164782971588511/demo: shipping time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782971588511/Demo: Shipping time', 1507164782971588511, 1507164782979977120, 1507164782979977120, 'common', 'demo: shipping time', '\x64656d6f3a207368697070696e672074696d65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164782493437851/demo: platforms in time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782493437851/Demo: Platforms in time', 1507164782493437851, 1507164782493437852, 1507164782493437852, 'common', 'demo: platforms in time', '\x64656d6f3a20706c6174666f726d7320696e2074696d65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164782317277082/demo: sales', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782317277082/Demo: Sales', 1507164782317277082, 1507164782317277081, 1507164782317277081, 'common', 'demo: sales', '\x64656d6f3a2073616c6573', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164782074007448/parameters: scale full period', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782074007448/Parameters: Scale full period', 1507164782074007448, 1507164782074007447, 1507164782074007447, 'common', 'parameters: scale full period', '\x706172616d65746572733a207363616c652066756c6c20706572696f64', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164781855903637/charts: bar chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781855903637/Charts: Bar chart', 1507164781855903637, 1507164781855903638, 1507164781855903638, 'common', 'charts: bar chart', '\x6368617274733a20626172206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164781662965651/lod: fixed', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781662965651/LOD: FIXED', 1507164781662965651, 1507164781662965652, 1507164781662965652, 'common', 'lod: fixed', '\x6c6f643a206669786564', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164781478416273/date functions: navigator', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781478416273/Date functions: Navigator', 1507164781478416273, 1507164781478416274, 1507164781478416274, 'common', 'date functions: navigator', '\x646174652066756e6374696f6e733a206e6176696761746f72', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164781302255504/cohorts: abs values', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781302255504/Cohorts: Abs values', 1507164781302255504, 1507164781302255503, 1507164781302255503, 'common', 'cohorts: abs values', '\x636f686f7274733a206162732076616c756573', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164781126094733/window functions: running sum', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781126094733/Window functions: Running sum', 1507164781126094733, 1507164781126094734, 1507164781126094734, 'common', 'window functions: running sum', '\x77696e646f772066756e6374696f6e733a2072756e6e696e672073756d', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780933156747/hierarchy: pie chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780933156747/Hierarchy: Pie chart', 1507164780933156747, 1507164780933156748, 1507164780933156748, 'common', 'hierarchy: pie chart', '\x6869657261726368793a20706965206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780748607369/hierarchy: line chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780748607369/Hierarchy: Line chart', 1507164780748607369, 1507164780748607370, 1507164780748607370, 'common', 'hierarchy: line chart', '\x6869657261726368793a206c696e65206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780564057991/parameters: currency calculator', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780564057991/Parameters: Currency calculator', 1507164780564057991, 1507164780564057992, 1507164780564057992, 'common', 'parameters: currency calculator', '\x706172616d65746572733a2063757272656e63792063616c63756c61746f72', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164780379508613/demo: table by region 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780379508613/Demo: Table by Region 2', 1507164780379508613, 1507164780379508614, 1507164780379508614, 'common', 'demo: table by region 2', '\x64656d6f3a207461626c6520627920726567696f6e2000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780203347843/charts: bar chart 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780203347843/Charts: Bar chart 2', 1507164780203347843, 1507164780203347844, 1507164780203347844, 'common', 'charts: bar chart 2', '\x6368617274733a206261722063686172742000313132', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164779851026303/demo: map 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779851026303/Demo: Map 3', 1507164779851026303, 1507164779851026304, 1507164779851026304, 'common', 'demo: map 3', '\x64656d6f3a206d61702000313133', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164779490316155/lod: include and arg_max', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779490316155/LOD: INCLUDE and ARG_MAX', 1507164779490316155, 1507164779490316156, 1507164779490316156, 'common', 'lod: include and arg_max', '\x6c6f643a20696e636c75646520616e6420617267216d6178', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164779255435129/charts: indicator 1', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779255435129/Charts: Indicator 1', 1507164779255435129, 1507164779255435130, 1507164779255435130, 'common', 'charts: indicator 1', '\x6368617274733a20696e64696361746f722000313131', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164779020554103/chats: unstacked area chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779020554103/Chats: Unstacked area chart', 1507164779020554103, 1507164779020554104, 1507164779020554104, 'common', 'chats: unstacked area chart', '\x63686174733a20756e737461636b65642061726561206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164778810838901/charts: pivot table', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778810838901/Charts: Pivot table', 1507164778810838901, 1507164778810838902, 1507164778810838902, 'common', 'charts: pivot table', '\x6368617274733a207069766f74207461626c65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164778617900916/charts: dual axis', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778617900916/Charts: Dual axis', 1507164778617900916, 1507164778617900915, 1507164778617900915, 'common', 'charts: dual axis', '\x6368617274733a206475616c2061786973', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164778198470513/maps: multiple layers', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778198470513/Maps: Multiple layers', 1507164778198470513, 1507164778198470514, 1507164778198470514, 'common', 'maps: multiple layers', '\x6d6170733a206d756c7469706c65206c6179657273', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164778013921135/charts: split by region', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778013921135/Charts: Split by region', 1507164778013921135, 1507164778013921136, 1507164778013921136, 'common', 'charts: split by region', '\x6368617274733a2073706c697420627920726567696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164777820983149/charts: split', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777820983149/Charts: Split', 1507164777820983149, 1507164777820983150, 1507164777820983150, 'common', 'charts: split', '\x6368617274733a2073706c6974', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164777628045163/date functions: ago mom', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777628045163/Date functions: AGO MoM', 1507164777628045163, 1507164777628045164, 1507164777628045164, 'common', 'date functions: ago mom', '\x646174652066756e6374696f6e733a2061676f206d6f6d', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164777443495785/maps: heatmap', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777443495785/Maps: Heatmap', 1507164777443495785, 1507164777443495786, 1507164777443495786, 'common', 'maps: heatmap', '\x6d6170733a20686561746d6170', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164777258946408/date functions: lag', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777258946408/Date functions: LAG', 1507164777258946408, 1507164777250557799, 1507164777250557799, 'common', 'date functions: lag', '\x646174652066756e6374696f6e733a206c6167', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164777074397029/cohorts: data', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777074397029/Cohorts: Data', 1507164777074397029, 1507164777082785638, 1507164777082785638, 'common', 'cohorts: data', '\x636f686f7274733a2064617461', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776889847651/demo: sales in time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776889847651/Demo: Sales in time', 1507164776889847651, 1507164776889847652, 1507164776889847652, 'common', 'demo: sales in time', '\x64656d6f3a2073616c657320696e2074696d65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776705298273/formatting: text with line brakes', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776705298273/Formatting: Text with line brakes', 1507164776705298273, 1507164776705298274, 1507164776705298274, 'common', 'formatting: text with line brakes', '\x666f726d617474696e673a20746578742077697468206c696e65206272616b6573', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164776512360288/lod: include', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776512360288/LOD: INCLUDE', 1507164776512360288, 1507164776512360287, 1507164776512360287, 'common', 'lod: include', '\x6c6f643a20696e636c756465', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776327810910/hierarchy: bar chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776327810910/Hierarchy: Bar chart', 1507164776327810910, 1507164776327810909, 1507164776327810909, 'common', 'hierarchy: bar chart', '\x6869657261726368793a20626172206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776151650139/charts: bar chart 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776151650139/Charts: Bar chart 3', 1507164776151650139, 1507164776151650140, 1507164776151650140, 'common', 'charts: bar chart 3', '\x6368617274733a206261722063686172742000313133', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164775967100761/window functions: max for each year', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775967100761/Window functions: Max for each year', 1507164775967100761, 1507164775967100762, 1507164775967100762, 'common', 'window functions: max for each year', '\x77696e646f772066756e6374696f6e733a206d617820666f7220656163682079656172', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164775782551383/hierarchy: table', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775782551383/Hierarchy: Table', 1507164775782551383, 1507164775790939992, 1507164775790939992, 'common', 'hierarchy: table', '\x6869657261726368793a207461626c65', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164775564447573/map: polygons 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775564447573/Map: Polygons 2', 1507164775564447573, 1507164775572836182, 1507164775572836182, 'common', 'map: polygons 2', '\x6d61703a20706f6c79676f6e732000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164775002410831/charts: normalized area chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775002410831/Charts: Normalized area chart', 1507164775002410831, 1507164775010799440, 1507164775010799440, 'common', 'charts: normalized area chart', '\x6368617274733a206e6f726d616c697a65642061726561206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164774750752590/window functions: percent of total 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164774750752590/Window functions: Percent of total 2', 1507164774750752590, 1507164774742363981, 1507164774742363981, 'common', 'window functions: percent of total 2', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c2000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164774415208267/charts: column chart 4', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164774415208267/Charts: Column chart 4', 1507164774415208267, 1507164774448762700, 1507164774448762700, 'common', 'charts: column chart 4', '\x6368617274733a20636f6c756d6e2063686172742000313134', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164774129995594/charts: combo reference line', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164774129995594/Charts: Combo reference line', 1507164774129995594, 1507164774129995593, 1507164774129995593, 'common', 'charts: combo reference line', '\x6368617274733a20636f6d626f207265666572656e6365206c696e65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164773886725959/charts: indicator 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773886725959/Charts: Indicator 2', 1507164773886725959, 1507164773886725960, 1507164773886725960, 'common', 'charts: indicator 2', '\x6368617274733a20696e64696361746f722000313132', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164773718953797/demo: clients 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773718953797/Demo: Clients 2', 1507164773718953797, 1507164773718953798, 1507164773718953798, 'common', 'demo: clients 2', '\x64656d6f3a20636c69656e74732000313132', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164773542793027/window functions: lag by dimension', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773542793027/Window functions: LAG by dimension', 1507164773542793027, 1507164773542793028, 1507164773542793028, 'common', 'window functions: lag by dimension', '\x77696e646f772066756e6374696f6e733a206c61672062792064696d656e73696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164773349855041/window functions: moving average 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773349855041/Window functions: Moving average 3', 1507164773349855041, 1507164773349855042, 1507164773349855042, 'common', 'window functions: moving average 3', '\x77696e646f772066756e6374696f6e733a206d6f76696e6720617665726167652000313133', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164773123362623/demo: platform share', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773123362623/Demo: Platform share', 1507164773123362623, 1507164773123362624, 1507164773123362624, 'common', 'demo: platform share', '\x64656d6f3a20706c6174666f726d207368617265', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164772947201853/window functions: rank', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772947201853/Window functions: Rank', 1507164772947201853, 1507164772947201854, 1507164772947201854, 'common', 'window functions: rank', '\x77696e646f772066756e6374696f6e733a2072616e6b', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164772569714489/charts: donut chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772569714489/Charts: Donut chart', 1507164772569714489, 1507164772569714490, 1507164772569714490, 'common', 'charts: donut chart', '\x6368617274733a20646f6e7574206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164772267724599/charts: bar chart 5', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772267724599/Charts: Bar chart 5', 1507164772267724599, 1507164772267724600, 1507164772267724600, 'common', 'charts: bar chart 5', '\x6368617274733a206261722063686172742000313135', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771974123317/charts: line chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771974123317/Charts: Line chart', 1507164771974123317, 1507164771974123318, 1507164771974123318, 'common', 'charts: line chart', '\x6368617274733a206c696e65206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771747630899/charts: bar chart 4', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771747630899/Charts: Bar chart 4', 1507164771747630899, 1507164771747630900, 1507164771747630900, 'common', 'charts: bar chart 4', '\x6368617274733a206261722063686172742000313134', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771294646065/date functions: simple dates', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771294646065/Date functions: simple dates', 1507164771294646065, 1507164771303034674, 1507164771303034674, 'common', 'date functions: simple dates', '\x646174652066756e6374696f6e733a2073696d706c65206461746573', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771110096687/charts: normalized column chart 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771110096687/Charts: Normalized column chart 2', 1507164771110096687, 1507164771118485296, 1507164771118485296, 'common', 'charts: normalized column chart 2', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e2063686172742000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164770850049837/charts: normalized column chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770850049837/Charts: Normalized column chart', 1507164770850049837, 1507164770850049838, 1507164770850049838, 'common', 'charts: normalized column chart', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164770648723243/parameters: scale', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770648723243/Parameters: Scale', 1507164770648723243, 1507164770648723244, 1507164770648723244, 'common', 'parameters: scale', '\x706172616d65746572733a207363616c65', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164770464173865/parameters: select dimension', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770464173865/Parameters: Select dimension', 1507164770464173865, 1507164770464173866, 1507164770464173866, 'common', 'parameters: select dimension', '\x706172616d65746572733a2073656c6563742064696d656e73696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164770254458663/charts: combo chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770254458663/Charts: Combo chart', 1507164770254458663, 1507164770254458664, 1507164770254458664, 'common', 'charts: combo chart', '\x6368617274733a20636f6d626f206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164770061520677/demo: table by categories', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770061520677/Demo: Table by categories', 1507164770061520677, 1507164770061520678, 1507164770061520678, 'common', 'demo: table by categories', '\x64656d6f3a207461626c652062792063617465676f72696573', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164769633701665/window functions: moving average', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769633701665/Window functions: Moving average', 1507164769633701665, 1507164769633701666, 1507164769633701666, 'common', 'window functions: moving average', '\x77696e646f772066756e6374696f6e733a206d6f76696e672061766572616765', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164769197494045/maps: polygons 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769197494045/Maps: Polygons 3', 1507164769197494045, 1507164769197494046, 1507164769197494046, 'common', 'maps: polygons 3', '\x6d6170733a20706f6c79676f6e732000313133', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164772762652475/date functions: calendar table', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772762652475/Date functions: Calendar table', 1507164772762652475, 1514454229241037853, 1514454229241037853, 'common', 'date functions: calendar table', '\x646174652066756e6374696f6e733a2063616c656e646172207461626c65', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164785421062073/charts: pie chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785421062073/Charts: Pie chart', 1507164785421062073, 1514450239963005975, 1514450239963005975, 'common', 'charts: pie chart', '\x6368617274733a20706965206368617274', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164779666476925/charts: column chart 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779666476925/Charts: Column chart 2', 1507164779666476925, 1514568023736845339, 1514568023736845339, 'common', 'charts: column chart 2', '\x6368617274733a20636f6c756d6e2063686172742000313132', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507171345740337126/scatter by regions', NULL, 'uid:systemId', '2023-09-11 09:00:25.337536+00', 'uid:systemId', '2023-09-11 09:00:25.532893+00', false, NULL, false, '1507171345740337126/Scatter by regions', 1507171345740337126, 1514569657778963487, 1514569657778963487, 'common', 'scatter by regions', '\x7363617474657220627920726567696f6e73', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164769407209247/charts: column chart 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769407209247/Charts: Column chart 3', 1507164769407209247, 1514568753797399581, 1514568753797399581, 'common', 'charts: column chart 3', '\x6368617274733a20636f6c756d6e2063686172742000313133', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164786444472259/charts: column chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786444472259/Charts: Column chart', 1507164786444472259, 1514567908636754970, 1514567908636754970, 'common', 'charts: column chart', '\x6368617274733a20636f6c756d6e206368617274', false, '{}', 1507164764046888724); +INSERT INTO public.entries (scope, type, key, inner_meta, created_by, created_at, updated_by, updated_at, is_deleted, deleted_at, hidden, display_key, entry_id, saved_id, published_id, tenant_id, name, sort_name, public, unversioned_data, workbook_id) VALUES + ('widget', 'd3_wizard_node', '1507164782770261917/hierarchy: date drill down', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782770261917/Hierarchy: Date drill down', 1507164782770261917, 1514569100272075806, 1514569100272075806, 'common', 'hierarchy: date drill down', '\x6869657261726368793a2064617465206472696c6c20646f776e', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164768249581337/window functions: percent of total', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164768249581337/Window functions: Percent of total', 1507164768249581337, 1514571204990600230, 1514571204990600230, 'common', 'window functions: percent of total', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c', false, '{}', 1507164764046888724), + ('widget', 'd3_wizard_node', '1507164775379898195/selectors: sales by platform', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775379898195/Selectors: Sales by platform', 1507164775379898195, 1514618656728810514, 1514618656728810514, 'common', 'selectors: sales by platform', '\x73656c6563746f72733a2073616c657320627920706c6174666f726d', false, '{}', 1507164764046888724), + ('connection', 'postgres', '1560964511626691586/pg', NULL, 'uid:systemId', '2023-11-24 14:17:50.397706+00', 'uid:systemId', '2023-11-24 14:17:50.397706+00', false, NULL, false, '1560964511626691586/pg', 1560964511626691586, 1560964511626691585, NULL, 'common', 'pg', '\x7067', false, '{"password": {"key_id": "key_1", "key_kind": "local_fernet", "cypher_text": "gAAAAABlYLCO6ydrZbPDl67oaBk_l3WFUdPxz_8KBqi1fTtb-ICcmBtn7Qvh1AwmbwqeZRTLpmDWPfKNDNooidkdeE2leZESsA=="}}', 1507164764046888724), + ('connection', 'clickhouse', '__trash/1510137996244943888_ch', '{"oldKey": "1510137996244943888/ch", "oldDisplayKey": "1510137996244943888/ch"}', 'uid:systemId', '2023-09-15 11:14:37.634851+00', 'uid:systemId', '2023-11-24 14:20:09.450474+00', true, '2023-11-24 14:20:09.450474+00', false, '__trash/1510137996244943888_ch', 1510137996244943888, 1510137996244943889, NULL, 'common', '1510137996244943888_ch', '\x3231393135313031333739393632343439343338383800216368', false, '{"password": {"key_id": "key_1", "key_kind": "local_fernet", "cypher_text": "gAAAAABlBDyd2TBjo-SSK6lIPcnZANo28Krs9jcsY0angf0kY1hgApa3NKrDuhBINq9-OnBVTmGWAJNhMG_nABOJ70rZARxUN0Py8-zAVdtFTjEdi11tltM="}}', 1507164764046888724), + ('dash', '', '1507164768509628187/datalens demo', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164768509628187/DataLens Demo', 1507164768509628187, 1560967116373361674, 1560967116373361674, 'common', 'datalens demo', '\x646174616c656e732064656d6f', false, '{}', 1507164764046888724); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"host": null, "name": null, "port": null, "secure": false, "db_name": null, "enabled": true, "endpoint": "", "username": null, "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "off", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null}', '{"state": "saved", "version": 11, "mdb_folder_id": null, "version_minor": 0, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164766655745814, 1507164766655745813, '{}'), -('{"host": "rc1a-dcvk9cgrhmu889sj.mdb.yandexcloud.net,rc1b-lk2m3n43pststo6d.mdb.yandexcloud.net", "name": null, "port": 8443, "secure": true, "ssl_ca": null, "db_name": null, "endpoint": "", "username": "opensource-demo", "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "dashsql", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null, "data_export_forbidden": false}', '{"state": "saved", "mdb_folder_id": null, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-15 14:14:37.634851+03', 'uid:systemId', '2023-09-15 14:14:37.634851+03', 1510137996244943889, 1510137996244943888, '{}'), -('{"rls": [], "name": "", "revision_id": "AgjoqxYbcbZZjnepVtH8g2", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "Custom SQL", "valid": true, "is_root": true, "source_id": "56eb3842-5302-11ee-85f5-aba80832f682", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "56eb3842-5302-11ee-85f5-aba80832f682", "type": "collection", "title": "Custom SQL", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\t\"opensource-demo\".orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\nFROM \"opensource-demo\".orders \n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_SUBSELECT", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 16:26:51.433399+03', 'uid:systemId', '2023-09-14 16:26:51.433399+03', 1509479774060283664, 1507164767695933207, '{"56eb3842-5302-11ee-85f5-aba80832f682": "rxhvo6ms2xj0g"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"Delivery date and time (+6)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"genericdatetime\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"genericdatetime\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"genericdatetime\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Delivery date and time (+6)\",\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"DATEADD([Delivery date and time],\\\"hour\\\",6)\",\n \"guid_formula\": \"DATEADD([cddd9cad-52a2-4232-8898-ade9a972c864],\\\"hour\\\",6)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY HH:mm:ss\",\n \"grouping\": \"part-hour\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"fakeTitle\": \"Delivery date and time (+5)\",\n \"quickFormula\": true,\n \"originalDateCast\": \"genericdatetime\",\n \"originalTitle\": \"Delivery date and time (+5)\",\n \"originalFormula\": \"DATEADD([Delivery date and time],\\\"hour\\\",5)\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784137605035, 1507164784137605036, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Product category 1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"RANK by categories\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK_DENSE(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"RANK_DENSE(SUM([Sales] within [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783944667050, 1507164783944667049, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"rls": [], "name": "", "access_mode": "direct", "revision_id": "NieMhem5pPgwfFxJLwagqu", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "SQL for cohorts", "valid": true, "is_root": true, "source_id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "type": "collection", "title": "SQL for cohorts", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SUBSELECT", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164767695933208, 1507164767695933207, '{"c221e501-14c8-11ee-8d76-3b5eb2be9b3d": "otliowpa3lyad"}'), -('{"rls": [], "name": null, "revision_id": "Smy7MRw3maESYh5wt5zPs9", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time] - [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "opensource-demo.orders", "valid": true, "is_root": true, "source_id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "opensource-demo.managers", "valid": true, "is_root": false, "source_id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "Europe/Moscow", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 15:58:32.319205+03', 'uid:systemId', '2023-09-14 15:58:32.319205+03', 1509465520934487792, 1507164769826639651, '{"21fa32c0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g", "2744dfa0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g"}'), -('{"rls": [], "name": null, "access_mode": "direct", "revision_id": "YDvez9RKaz46M7nSijxWxk", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time]- [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "samples.orders", "valid": true, "is_root": true, "source_id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "samples.managers", "valid": true, "is_root": false, "source_id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status", "c81b1fa0-e207-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "UTC", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769826639652, 1507164769826639651, '{"ec61a120-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad", "ee06ecb0-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"id\": \"visArea\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"date\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"data_type\": \"date\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 12:35:54.179495+03', 'uid:systemId', '2023-09-11 12:35:54.179495+03', 1507189203752980462, 1507189203752980463, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 6,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Sales RANK WITHIN\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales RANK WITHIN\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"pixel\",\n \"value\": \"260\"\n }\n }\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783760117672, 1507164783760117671, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"План - константа\": \"ShortDashDotDot\",\n \"Среднее по категориям\": \"LongDashDotDot\",\n \"Avg by region\": \"Dash\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by region\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Avg by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783558791077, 1507164783558791078, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Population sort\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Population group\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_population_group\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_population_group\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"avg\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {},\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"d4e27a70-5235-11ed-ad0a-1d6fc3f8c49f\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783357464483, 1507164783357464484, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"title-b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Label\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"string\",\n \"type\": \"MEASURE\",\n \"title\": \"Label\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_2\",\n \"guid\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-38\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783164526498, 1507164783164526497, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#FFB46C\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"avg\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \" day\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782979977120, 1507164782971588511, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782770261918, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"string\",\n \"title\": \"Platform\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"ANDROID\": \"6\",\n \"DESKTOP\": \"3\",\n \"IOS\": \"2\",\n \"MOBILE_BROWSER\": \"14\",\n \"UNKNOWN\": \"15\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782493437852, 1507164782493437851, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782317277081, 1507164782317277082, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"source\": \"ProductCategory\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"title\": \"Дата через параметр\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"title\": \"Число магазинов\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Месяц заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Год заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Доставка - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"ID заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"ID клиента\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Число клиентов\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Дата и время заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Дата заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Дата и время доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Дата доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"title\": \"Скидка, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Среднее число продуктов в заказе\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Доставка - тип\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Тип оплаты\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"Клиент\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"title\": \"Клиент - пол\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Клиент - статус\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"title\": \"Клиент- дата рождения\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Продукт - категория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Продукт - подкатегория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Продукт - бренд\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Продукт\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"title\": \"Магазин - адрес\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"title\": \"Магазин - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"title\": \"Магазин - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"title\": \"Доставка - округ\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"title\": \"Доставка - округ (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"title\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"true\"\n ],\n \"operation\": {\n \"code\": \"EQ\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"boolean\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"boolean\",\n \"type\": \"DIMENSION\",\n \"cast\": \"boolean\",\n \"formula\": \"[Дата заявки] < DATETRUNC((TODAY() -1), [scale])\",\n \"guid_formula\": \"[3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] < DATETRUNC((TODAY() -1), [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Продажи\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"Price\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Продажи\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782074007447, 1507164782074007448, NULL), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 12:02:27.545481+03', 'uid:systemId', '2023-09-11 12:02:27.545481+03', 1507172370811457514, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422579735\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422570832\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422554154\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"discrete\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422568249\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 12:00:25.337536+03', 'uid:systemId', '2023-09-11 12:00:25.337536+03', 1507171345740337127, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"New chart\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order date (scale)\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164789036552160, 1507164789036552159, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"k\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788860391389, 1507164788860391390, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"% Delivered\": \"5\",\n \"Delivered, %\": \"5\"\n },\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788675842011, 1507164788675842012, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788449349593, 1507164788449349594, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"geopolygon\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788273188824, 1507164788273188823, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788097028054, 1507164788097028053, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Avg among category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"category_name_level_3 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"title\": \"Product Link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 15,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Smart speakers\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product Link\",\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3 (1)\",\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category 3\",\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg among category\",\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"AVG([Sales] FIXED [Category 3])\",\n \"guid_formula\": \"AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] FIXED [56135840-543d-11ed-8cd5-1d5809ea917a])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Diff to avg\",\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Quantity label\",\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"description\": \"\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"initial_data_type\": \"markup\",\n \"has_auto_aggregation\": false,\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"data_type\": \"markup\",\n \"title\": \"Product Link\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-6\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"markup\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"markup\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-46\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"eab840d0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Central\": \"18\",\n \"Jaffa\": \"19\",\n \"North\": \"5\",\n \"South\": \"11\"\n }\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"order_buyer_region_name\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-32\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#CCCC\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"fa1ed1b0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787895701459, 1507164787895701460, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales AGO\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Order date (scale)\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"valid\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"cast\": \"float\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787719540689, 1507164787719540690, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"title\": \"Diff to average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0e352060-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"11a519d0-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"19bf8880-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n },\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787534991311, 1507164787534991312, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 2,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"treemap\",\n \"type\": \"treemap\",\n \"name\": \"label_visualization-treemap\",\n \"allowFilters\": true,\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_dimensions\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521882125\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787358830541, 1507164787358830542, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"title\": \"Plan diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan diff\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee]-[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b])/[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b]\",\n \"formula\": \"([Sales]-[Plan])/[Plan]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787174281164, 1507164787174281163, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Label last\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Label last\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Label last\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786998120394, 1507164786998120393, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"title\": \"Point\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"title\": \"Delivered, % by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, % by region\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"097880a0-5398-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614882676\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Delivered, % by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Clusters\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786805182408, 1507164786805182407, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"local\": true,\n \"fakeTitle\": \"Delivery date\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"order_delivery_datetime\",\n \"originalTitle\": \"Delivery date\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786629021637, 1507164786629021638, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786444472260, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": true,\n \"virtual\": false,\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation\": \"none\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786217979842, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 50,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2e35bfc0-53d4-11ed-9996-050410c36b7c\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"fakeTitle\": \"AGO 1m\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786041819071, 1507164786041819072, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Product category 2\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"order_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"user_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785857269693, 1507164785857269694, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"colormap.retention\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-1\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"yellow-green-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.abs\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention.precalc\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"title\": \"abs-retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"colormap.retention.precalc\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\t(round([COUNTS])), \\r\\n\\t(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\t(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\t(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d])))\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.abs\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.retention\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"FirstOrder_Month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"30d\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"SQL Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"SQL Когорты\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"First Order\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"cast\": \"string\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-4\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785655943100, 1507164785655943099, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"title\": \"Подкатегория продукта - сумма\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Orders\",\n \"source\": \"order_id\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Подкатегория продукта - сумма\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"ProductSubcategory\",\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pie\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-pie\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785421062074, 1507164785421062073, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517989240\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517984518\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"bar\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785236512695, 1507164785236512696, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"title\": \"Product link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 8,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"title\": \"Product link\",\n \"data_type\": \"markup\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"markup\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"markup\",\n \"title\": \"Product link\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Product | 🔗 Click to go to dashboard by product\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"ead4b4f0-523b-11ed-bcb4-57270be790f2\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {}\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\"\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785051963317, 1507164785051963318, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"category_name_level_1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"category_name_level_1\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-36\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"category_name_level_1\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Auto\",\n \"Cottage and garden\",\n \"Equipment\",\n \"Household Goods\",\n \"Pet Products\",\n \"Pharmacy\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"% of total by years\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784867413940, 1507164784867413939, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#BA74B3\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784691253170, 1507164784691253169, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"title\": \"60 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"90 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"25 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Красная\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Красная\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"10\",\n \"guid_formula\": \"10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"25 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"90 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Diff\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"title\": \"90 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Diff\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"25 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"517278f0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Area\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"95 Quantile\": \"6\",\n \"Квантиль разница\": \"18\",\n \"25 Quantile\": \"2\",\n \"90 Quantile\": \"6\",\n \"Diff\": \"18\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Shipping time\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Line\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784498315183, 1507164784498315184, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784322154414, 1507164784322154413, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644496054\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivery service\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781855903638, 1507164781855903637, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Clients Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Clients percent of Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"title\": \"Clients\",\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"source\": \"user_id\",\n \"cast\": \"integer\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0ec0a130-53b3-11ed-981b-3d3870438bea\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781662965652, 1507164781662965651, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_creation_date\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781478416274, 1507164781478416273, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"Colormap\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781302255503, 1507164781302255504, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Order year\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Running sum Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781126094734, 1507164781126094733, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631862829561\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780933156748, 1507164780933156747, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Payment type\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780748607370, 1507164780748607369, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"title\": \"Sales in currency\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales in currency\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"currency\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"currency\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"default_value\": \"ILS\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\",\n \"value_constraint\": null,\n \"avatar_id\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780564057992, 1507164780564057991, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"aggregation\": \"avg\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Shipping time\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"949fefc0-5234-11ed-8935-39b8282a53d8\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780379508614, 1507164780379508613, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517557105\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780203347844, 1507164780203347843, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#84D1EE\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780035575682, 1507164780035575681, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Neighborhoods \",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\",\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"name\": \"Stores\",\n \"alpha\": 100,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779851026304, 1507164779851026303, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779666476926, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"title\": \"Date with max DAU within a month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"DIMENSION\",\n \"title\": \"Order month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"MEASURE\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"source\": \"\",\n \"cast\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"managed_by\": \"user\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"virtual\": false,\n \"description\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779490316156, 1507164779490316155, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Средний чек индикатор\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Средний чек индикатор\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": false,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"guid_formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779255435130, 1507164779255435129, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bouns\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Avg by category\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Sales]*0.97\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"2ec40a20-257e-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Bonus\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by category\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779020554104, 1507164779020554103, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"pink-gray-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"avatar_id\": null,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"YEAR([Order date])\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"Order year\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778810838902, 1507164778810838901, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778617900915, 1507164778617900916, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"dataset\": {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"route\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"latitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"longitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"distance_km\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"altitude\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"speed_kmh\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"timestamp\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": false,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"point_num\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"precision\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"run_routes\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"run_routes\",\n \"index_info_set\": null,\n \"parameter_hash\": \"d8a5c4b2ff666c2a\",\n \"valid\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"revision_id\": null,\n \"obligatory_filters\": [],\n \"avatar_relations\": [],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_5-5\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"mavg([speed_kmh],5,5)\",\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_2-2\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"MAVG([speed_kmh],2,2)\",\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"latitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"longitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"distance_km\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"altitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"timestamp\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n }\n ],\n \"rls\": {\n \"4c84ecb0-17d7-11ec-b071-594d21764286\": \"\",\n \"370bcb10-17d7-11ec-b071-594d21764286\": \"\",\n \"0a93f940-17d7-11ec-b071-594d21764286\": \"\",\n \"015e0b29-762f-4a41-82c7-5d86fcd0c359\": \"\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\": \"\",\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\": \"\",\n \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\": \"\",\n \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\": \"\",\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\": \"\",\n \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\": \"\",\n \"db35c272-f907-4e80-b54e-d9926e421d48\": \"\",\n \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\"\n ]\n },\n {\n \"dep_field_id\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n },\n {\n \"dep_field_id\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"02e14d11-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.run_routes\",\n \"valid\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Карты и геофункции/Маршруты\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"s6czlk5wiwiuj\",\n \"realName\": \"Маршруты\"\n }\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"title\": \"Доставка - район\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"DeliveryDistrictName\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630510217116\",\n \"datasetName\": \"Продажи\",\n \"filter\": {\n \"value\": [\n \"Кунцево\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900814150\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add\",\n \"field\": {\n \"quickFormula\": true,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"originalTitle\": \"Дата заявки\",\n \"originalFormula\": \"\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"aggregation\": \"none\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"fakeTitle\": \"Дата заявки\"\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"id\": \"inserted-1569803595553\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"local\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"undragable\": false\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"guid\": \"0c86b9ae-06fe-490c-8419-ab1a477bbd0f\",\n \"managed_by\": \"user\",\n \"source\": \"FinelAmount\",\n \"title\": \"Продажа с учетом скидки, ₽\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"calc_mode\": \"direct\",\n \"id\": \"inserted-1569803886498\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"labelMode\": \"percent\"\n }\n }\n ],\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"DeliveryAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505166942\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"b3c097a0-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Клиенты\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"title\": \"Доставка - район (полигон)\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"calc_mode\": \"direct\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1569874874842\"\n }\n ],\n \"required\": true,\n \"capacity\": null,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"yellow\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Районы\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"polyline\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": false,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"polyline\",\n \"type\": \"polyline\",\n \"title\": \"section_polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900884829\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"polylinePoints\": \"off\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": []\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"grouping\",\n \"type\": \"grouping\",\n \"title\": \"section_grouping\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900882793\",\n \"datasetName\": \"Маршруты\"\n }\n ]\n }\n ],\n \"layerSettings\": {\n \"type\": \"polyline\",\n \"id\": \"1847b060-17df-11ec-8410-31ac0377a84c\",\n \"name\": \"Маршрут аудитора\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900801390\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"1\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900840672\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"Москва\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505038662\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopName\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505351027\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Адрес магазина\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddress\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505344806\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"6d6a4e40-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Магазины\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"placeholders\": [],\n \"hidden\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778198470514, 1507164778198470513, NULL); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778013921136, 1507164778013921135, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777820983150, 1507164777820983149, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"title\": \"MoM, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"title\": \"MoM, % (#)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 20,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, % (#)\",\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"formula\": \"([Sales] - [AGO 1m]) /ABS([AGO 1m])\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, %\",\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"MoM, %\",\n \"hidden\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"62656de0-53d4-11ed-806a-656f0b795542\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"manual\",\n \"leftThreshold\": \"-1\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"red-orange-green\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"3c689620-53d5-11ed-806a-656f0b795542\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777628045164, 1507164777628045163, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"heatmap\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Heatmap\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"string\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"DeliveryDistrictName\",\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017712920\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"OrderID\",\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017621635\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017624549\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777443495786, 1507164777443495785, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order month\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1)\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"LAG\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"LAG([Sales], 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777250557799, 1507164777258946408, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"user_id\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"has_auto_aggregation\": false,\n \"title\": \"ClientID\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"OrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"has_auto_aggregation\": false,\n \"title\": \"OrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"FirstOrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777082785638, 1507164777074397029, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Forecast\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Forecast\": \"Dash\"\n }\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Plan\",\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Forecast\",\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"e45d1c70-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"[Продажа, ₽]*1.1\": \"1\",\n \"План\": \"2\"\n },\n \"fieldGuid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Forecast\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ]\n }\n }\n ],\n \"selectedLayerId\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776889847652, 1507164776889847651, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"title\": \"Label with brake\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"type\": \"MEASURE\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"title\": \"Label with brake\",\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"initial_data_type\": \"string\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"has_auto_aggregation\": true,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Label with brake\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"virtual\": false,\n \"cast\": \"date\",\n \"title\": \"Order month\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"has_auto_aggregation\": false,\n \"data_type\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"guid_formula\": \"\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"manual\",\n \"titleValue\": \"Число продуктов\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776705298274, 1507164776705298273, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg clients per day\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776512360287, 1507164776512360288, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"lock_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776327810909, 1507164776327810910, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631645887272\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Продажа, ₽\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": false,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631645945506\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Quantity\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776151650140, 1507164776151650139, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Max in every year Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Max in every year Label\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Max in every year Label\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775967100762, 1507164775967100761, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775790939992, 1507164775782551383, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775572836182, 1507164775564447573, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"string\",\n \"aggregation_locked\": false,\n \"data_type\": \"string\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"managed_by\": \"user\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"cast\": \"string\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775388286804, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775186960210, 1507164775186960209, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775010799440, 1507164775002410831, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales as % of TOTAL\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales as % of TOTAL\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales as % of TOTAL\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1,\n \"units\": null\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2a71c010-536a-11ed-a6bf-83c15c101a58\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164774742363981, 1507164774750752590, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631643553455\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Orders\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164774448762700, 1507164774415208267, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Constant\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"Constant\": \"Dash\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Constant\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Constant\",\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"Constant\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"Constant\": \"19\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Constant\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164774129995593, 1507164774129995594, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"s\",\n \"metricFontColor\": \"#BE2443\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773886725960, 1507164773886725959, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#FFC636\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773718953798, 1507164773718953797, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"off\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1666640570174\"\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773542793028, 1507164773542793027, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Sales\": \"15\",\n \"Moving avg 5 previous\": \"4\",\n \"Moving avg 5 previous and 5 next\": \"1\",\n \"Moving avg 14 previous and 14 next\": \"1\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Moving avg 5 previous\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Moving avg 5 previous\": \"Dash\",\n \"Moving avg 5 previous and 5 next\": \"LongDashDot\",\n \"Sales\": \"Solid\"\n }\n },\n \"sort\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order date\",\n \"source\": \"order_creation_date\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 5 previous\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 5) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-21\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Moving avg 5 previous\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"mavg([Sales], 5) \",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"cast\": \"float\",\n \"hidden\": false,\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"has_auto_aggregation\": true,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773349855042, 1507164773349855041, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"UNKNOWN\": \"15\",\n \"DESKTOP\": \"3\",\n \"MOBILE_BROWSER\": \"14\",\n \"ANDROID\": \"6\",\n \"IOS\": \"2\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"title\": \"Share Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"title\": \"Clients Share\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Clients Share\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Clients]/SUM([Clients] TOTAL)\",\n \"guid_formula\": \"[ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350]/SUM([ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Share Label\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"MAX([Platform]) + \\\" \\\" + LEFT(STR([Clients Share]*100),3) + \\\"%\\\"\",\n \"guid_formula\": \"MAX([b76344a2-2cc1-4f65-bb40-f81035853bf2]) + \\\" \\\" + LEFT(STR([216523c0-31ed-11ed-acd1-57895da41aa1]*100),3) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Platform\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773123362624, 1507164773123362623, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"5\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"RANK([Sales])\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"RANK([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772947201854, 1507164772947201853, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642623261\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642617405\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642621533\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772762652476, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"aggregation\": \"countunique\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"hidden\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772569714490, 1507164772569714489, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"m\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631646716962\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772267724600, 1507164772267724599, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [\n \"Central\"\n ],\n \"linesMode\": \"selected\",\n \"periodSettings\": {\n \"value\": \"12\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Техника для дома\": \"LongDashDot\",\n \"Central\": \"Solid\",\n \"Jaffa\": \"LongDash\",\n \"North\": \"Dash\",\n \"South\": \"Dot\"\n },\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771974123318, 1507164771974123317, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631645544892\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771747630900, 1507164771747630899, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"dataset\": {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n }\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631650892682\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771303034674, 1507164771294646065, NULL); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"percent\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631647315729\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"column\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771118485296, 1507164771110096687, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"title\": \"Undelivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644188445\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770850049838, 1507164770850049837, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770648723244, 1507164770648723243, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"Категория\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770464173866, 1507164770464173865, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Plan\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"18\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"local\": true,\n \"quickFormula\": true,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"source\": \"\",\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"originalTitle\": \"Bonus\",\n \"fakeTitle\": \"Bonus\",\n \"aggregation\": \"sum\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"calc_mode\": \"formula\",\n \"formula\": \"[quantity]/10\",\n \"id\": \"measure-0\",\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 3\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770254458664, 1507164770254458663, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"gray\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"title\": \"Products\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"off\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Appliances\",\n \"Auto\",\n \"Books\",\n \"Equipment\",\n \"Leisure and entertainment\",\n \"Pet Products\",\n \"Products\",\n \"Sports and activities\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Products\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"tree_str\",\n \"valid\": true,\n \"data_type\": \"tree_str\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"tree_str\",\n \"title\": \"Products\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"tree_str\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"auto\",\n \"value\": \"500\"\n }\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"cast\": \"float\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"0b594020-523b-11ed-97a2-297ae2ad8641\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"leftThreshold\": \"0\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770061520678, 1507164770061520677, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"title\": \"Moving Average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"string\",\n \"guid\": \"scale\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"scale\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Moving Average\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"autoaggregated\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"data_type\": \"date\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"virtual\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Moving Average\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769633701666, 1507164769633701665, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769407209248, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Layer 1\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769197494046, 1507164769197494045, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164768249581338, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"avg\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"title\": \"Shipping time\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time] - [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:57:02.999715+03', 'uid:systemId', '2023-09-21 12:57:02.999715+03', 1514447605529052176, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"avg\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"title\": \"Shipping time\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time] - [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:57:07.801359+03', 'uid:systemId', '2023-09-21 12:57:07.801359+03', 1514447645072950289, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:58:23.958318+03', 'uid:systemId', '2023-09-21 12:58:23.958318+03', 1514448284024833042, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:59:09.272126+03', 'uid:systemId', '2023-09-21 12:59:09.272126+03', 1514448663995221011, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:59:13.060353+03', 'uid:systemId', '2023-09-21 12:59:13.060353+03', 1514448695779656724, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:59:44.517174+03', 'uid:systemId', '2023-09-21 12:59:44.517174+03', 1514448959693653013, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 12:59:48.756928+03', 'uid:systemId', '2023-09-21 12:59:48.756928+03', 1514448995303293974, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"title\": \"Подкатегория продукта - сумма\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"Charts: Pie chart\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n }\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Orders\",\n \"source\": \"order_id\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Подкатегория продукта - сумма\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"ProductSubcategory\",\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"pie-d3\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-pie\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visPie\",\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:02:17.129376+03', 'uid:systemId', '2023-09-21 13:02:17.129376+03', 1514450239963005975, 1507164785421062073, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Delivered, %\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:03:21.75928+03', 'uid:systemId', '2023-09-21 13:03:21.75928+03', 1514450782143906840, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Delivered, %\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:03:25.863088+03', 'uid:systemId', '2023-09-21 13:03:25.863088+03', 1514450816470090777, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:08:05.62842+03', 'uid:systemId', '2023-09-21 13:08:05.62842+03', 1514453163552277530, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:08:10.372176+03', 'uid:systemId', '2023-09-21 13:08:10.372176+03', 1514453203045843995, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"Date functions: Calendar table\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"on\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n }\n },\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"id\": \"visPivot\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {},\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:09:54.840671+03', 'uid:systemId', '2023-09-21 13:09:54.840671+03', 1514454079554716700, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"Date functions: Calendar table\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"off\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n }\n },\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"id\": \"visPivot\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {},\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:10:12.700444+03', 'uid:systemId', '2023-09-21 13:10:12.700444+03', 1514454229241037853, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:11:49.61875+03', 'uid:systemId', '2023-09-21 13:11:49.61875+03', 1514455042239759390, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:11:53.674947+03', 'uid:systemId', '2023-09-21 13:11:53.674947+03', 1514455076205233183, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:12:37.043493+03', 'uid:systemId', '2023-09-21 13:12:37.043493+03', 1514455440354706464, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:12:40.23517+03', 'uid:systemId', '2023-09-21 13:12:40.23517+03', 1514455466795598881, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-21 13:12:59.902786+03', 'uid:systemId', '2023-09-21 13:12:59.902786+03', 1514455631765963810, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-21 13:13:05.568892+03', 'uid:systemId', '2023-09-21 13:13:05.568892+03', 1514455679245485091, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"hidden\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:13:22.137177+03', 'uid:systemId', '2023-09-21 13:13:22.137177+03', 1514455818253108260, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"hidden\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:13:26.428205+03', 'uid:systemId', '2023-09-21 13:13:26.428205+03', 1514455854257013797, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 16:56:04.328653+03', 'uid:systemId', '2023-09-21 16:56:04.328653+03', 1514567908636754970, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 16:56:18.065933+03', 'uid:systemId', '2023-09-21 16:56:18.065933+03', 1514568023736845339, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 16:56:32.014101+03', 'uid:systemId', '2023-09-21 16:56:32.014101+03', 1514568140715983900, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 17:02:37.301727+03', 'uid:systemId', '2023-09-21 17:02:37.301727+03', 1514571204990600230, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 16:57:45.072636+03', 'uid:systemId', '2023-09-21 16:57:45.072636+03', 1514568753797399581, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": false,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 16:58:26.368336+03', 'uid:systemId', '2023-09-21 16:58:26.368336+03', 1514569100272075806, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": false,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"avg\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"title\": \"Shipping time\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time] - [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"allowComments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 16:59:32.846219+03', 'uid:systemId', '2023-09-21 16:59:32.846219+03', 1514569657778963487, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"UNKNOWN\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 18:36:53.956997+03', 'uid:systemId', '2023-09-21 18:36:53.956997+03', 1514618656728810514, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 13, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 23, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 9, "x": 0, "y": 6}, {"h": 5, "i": "K89", "w": 10, "x": 9, "y": 6}, {"h": 5, "i": "Zg5", "w": 9, "x": 19, "y": 6}, {"h": 5, "i": "4aO", "w": 8, "x": 28, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 10, "x": 9, "y": 11}, {"h": 13, "i": "23L", "w": 19, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 28}, {"h": 4, "i": "BW5", "w": 15, "x": 4, "y": 28}, {"h": 18, "i": "b08", "w": 19, "x": 0, "y": 32}, {"h": 4, "i": "V4y", "w": 17, "x": 19, "y": 28}, {"h": 18, "i": "9Qk", "w": 17, "x": 19, "y": 32}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 50}, {"h": 2, "i": "nOP", "w": 18, "x": 18, "y": 50}, {"h": 4, "i": "1R4", "w": 11, "x": 7, "y": 50}, {"h": 2, "i": "WzG", "w": 6, "x": 18, "y": 52}, {"h": 2, "i": "k3a", "w": 12, "x": 24, "y": 52}, {"h": 20, "i": "dLA", "w": 36, "x": 0, "y": 54}, {"h": 17, "i": "gvY", "w": 17, "x": 19, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "Edn", "w": 12, "x": 0, "y": 23}, {"h": 3, "i": "epA", "w": 12, "x": 0, "y": 20}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 37}, {"h": 6, "i": "AWA", "w": 9, "x": 18, "y": 40}, {"h": 6, "i": "3zr", "w": 9, "x": 9, "y": 40}, {"h": 6, "i": "abX", "w": 9, "x": 0, "y": 40}, {"h": 6, "i": "JbE", "w": 9, "x": 27, "y": 40}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 69}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 66}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 49}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 46}, {"h": 20, "i": "74n", "w": 18, "x": 0, "y": 84}, {"h": 3, "i": "N91", "w": 18, "x": 0, "y": 81}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 49}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search?q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 17}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 15}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 9}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 11}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 13}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 4, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 4, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 4, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 17, "i": "jPL", "w": 18, "x": 0, "y": 30}, {"h": 17, "i": "L3R", "w": 18, "x": 18, "y": 30}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 7}, {"h": 17, "i": "GAX", "w": 18, "x": 0, "y": 10}, {"h": 17, "i": "Ka4", "w": 18, "x": 18, "y": 10}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 27}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 17, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 17, "x": 0, "y": 21}, {"h": 12, "i": "7gg", "w": 17, "x": 0, "y": 40}, {"h": 15, "i": "AMe", "w": 17, "x": 0, "y": 51}, {"h": 12, "i": "3g5", "w": 17, "x": 0, "y": 68}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 19}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 38}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 49}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 66}, {"h": 10, "i": "NRY", "w": 19, "x": 17, "y": 9}, {"h": 17, "i": "AMA", "w": 19, "x": 17, "y": 21}, {"h": 4, "i": "MX1", "w": 19, "x": 17, "y": 40}, {"h": 6, "i": "3gr", "w": 19, "x": 17, "y": 51}, {"h": 4, "i": "v26", "w": 19, "x": 17, "y": 68}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 17, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 17, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 27}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 29}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 29}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 45}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 47}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 47}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 21, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 36, "x": 0, "y": 32}, {"h": 17, "i": "1kE", "w": 36, "x": 0, "y": 53}, {"h": 27, "i": "W15", "w": 24, "x": 12, "y": 73}, {"h": 21, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 36, "x": 0, "y": 29}, {"h": 4, "i": "e1J", "w": 36, "x": 0, "y": 49}, {"h": 18, "i": "dlQ", "w": 12, "x": 0, "y": 73}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 26}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 70}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-09-21 19:29:38.253744+03', 'uid:systemId', '2023-09-21 19:29:38.253744+03', 1514645201069540374, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74aq6s79dez": "af74aq6s79dez", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cs0b54by1": "ch96cs0b54by1", "ejb8ep80pi163": "ejb8ep80pi163", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagxhlpx4q5": "gldagxhlpx4q5", "infciq1c89je7": "infciq1c89je7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn4ak09vwc": "nskhn4ak09vwc", "otlio209vg4md": "otlio209vg4md", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "x2urxes3f5vwm": "x2urxes3f5vwm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'); +INSERT INTO public.revisions (data, meta, created_by, created_at, updated_by, updated_at, rev_id, entry_id, links) VALUES + ('{"host": null, "name": null, "port": null, "secure": false, "db_name": null, "enabled": true, "endpoint": "", "username": null, "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "off", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null}', '{"state": "saved", "version": 11, "mdb_folder_id": null, "version_minor": 0, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164766655745814, 1507164766655745813, '{}'), + ('{"host": "rc1a-dcvk9cgrhmu889sj.mdb.yandexcloud.net,rc1b-lk2m3n43pststo6d.mdb.yandexcloud.net", "name": null, "port": 8443, "secure": true, "ssl_ca": null, "db_name": null, "endpoint": "", "username": "opensource-demo", "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "dashsql", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null, "data_export_forbidden": false}', '{"state": "saved", "mdb_folder_id": null, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-15 11:14:37.634851+00', 'uid:systemId', '2023-09-15 11:14:37.634851+00', 1510137996244943889, 1510137996244943888, '{}'), + ('{"rls": [], "name": "", "revision_id": "AgjoqxYbcbZZjnepVtH8g2", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "Custom SQL", "valid": true, "is_root": true, "source_id": "56eb3842-5302-11ee-85f5-aba80832f682", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "56eb3842-5302-11ee-85f5-aba80832f682", "type": "collection", "title": "Custom SQL", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\t\"opensource-demo\".orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\nFROM \"opensource-demo\".orders \n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_SUBSELECT", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 13:26:51.433399+00', 'uid:systemId', '2023-09-14 13:26:51.433399+00', 1509479774060283664, 1507164767695933207, '{"56eb3842-5302-11ee-85f5-aba80832f682": "rxhvo6ms2xj0g"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $1 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"Delivery date and time (+6)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"genericdatetime\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"genericdatetime\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"genericdatetime\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Delivery date and time (+6)\",\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"DATEADD([Delivery date and time],\\\"hour\\\",6)\",\n \"guid_formula\": \"DATEADD([cddd9cad-52a2-4232-8898-ade9a972c864],\\\"hour\\\",6)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY HH:mm:ss\",\n \"grouping\": \"part-hour\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"fakeTitle\": \"Delivery date and time (+5)\",\n \"quickFormula\": true,\n \"originalDateCast\": \"genericdatetime\",\n \"originalTitle\": \"Delivery date and time (+5)\",\n \"originalFormula\": \"DATEADD([Delivery date and time],\\\"hour\\\",5)\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784137605035, 1507164784137605036, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $2 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Product category 1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"RANK by categories\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK_DENSE(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"RANK_DENSE(SUM([Sales] within [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783944667050, 1507164783944667049, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"rls": [], "name": "", "access_mode": "direct", "revision_id": "NieMhem5pPgwfFxJLwagqu", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "SQL for cohorts", "valid": true, "is_root": true, "source_id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "type": "collection", "title": "SQL for cohorts", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SUBSELECT", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164767695933208, 1507164767695933207, '{"c221e501-14c8-11ee-8d76-3b5eb2be9b3d": "otliowpa3lyad"}'), + ('{"rls": [], "name": null, "revision_id": "Smy7MRw3maESYh5wt5zPs9", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time] - [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "opensource-demo.orders", "valid": true, "is_root": true, "source_id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "opensource-demo.managers", "valid": true, "is_root": false, "source_id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "Europe/Moscow", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 12:58:32.319205+00', 'uid:systemId', '2023-09-14 12:58:32.319205+00', 1509465520934487792, 1507164769826639651, '{"21fa32c0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g", "2744dfa0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g"}'), + ('{"rls": [], "name": null, "access_mode": "direct", "revision_id": "YDvez9RKaz46M7nSijxWxk", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time]- [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "samples.orders", "valid": true, "is_root": true, "source_id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "samples.managers", "valid": true, "is_root": false, "source_id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status", "c81b1fa0-e207-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "UTC", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769826639652, 1507164769826639651, '{"ec61a120-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad", "ee06ecb0-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $3 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"id\": \"visArea\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"date\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"data_type\": \"date\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 09:35:54.179495+00', 'uid:systemId', '2023-09-11 09:35:54.179495+00', 1507189203752980462, 1507189203752980463, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $4 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 6,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Sales RANK WITHIN\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales RANK WITHIN\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"pixel\",\n \"value\": \"260\"\n }\n }\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783760117672, 1507164783760117671, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $5 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"План - константа\": \"ShortDashDotDot\",\n \"Среднее по категориям\": \"LongDashDotDot\",\n \"Avg by region\": \"Dash\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by region\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Avg by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783558791077, 1507164783558791078, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $6 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Population sort\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Population group\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_population_group\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_population_group\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"avg\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {},\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"d4e27a70-5235-11ed-ad0a-1d6fc3f8c49f\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783357464483, 1507164783357464484, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $7 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"title-b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Label\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"string\",\n \"type\": \"MEASURE\",\n \"title\": \"Label\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_2\",\n \"guid\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-38\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783164526498, 1507164783164526497, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $8 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#FFB46C\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"avg\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \" day\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782979977120, 1507164782971588511, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $9 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782770261918, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $10 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"string\",\n \"title\": \"Platform\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"ANDROID\": \"6\",\n \"DESKTOP\": \"3\",\n \"IOS\": \"2\",\n \"MOBILE_BROWSER\": \"14\",\n \"UNKNOWN\": \"15\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782493437852, 1507164782493437851, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $11 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782317277081, 1507164782317277082, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $12 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"source\": \"ProductCategory\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"title\": \"Дата через параметр\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"title\": \"Число магазинов\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Месяц заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Год заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Доставка - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"ID заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"ID клиента\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Число клиентов\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Дата и время заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Дата заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Дата и время доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Дата доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"title\": \"Скидка, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Среднее число продуктов в заказе\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Доставка - тип\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Тип оплаты\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"Клиент\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"title\": \"Клиент - пол\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Клиент - статус\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"title\": \"Клиент- дата рождения\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Продукт - категория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Продукт - подкатегория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Продукт - бренд\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Продукт\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"title\": \"Магазин - адрес\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"title\": \"Магазин - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"title\": \"Магазин - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"title\": \"Доставка - округ\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"title\": \"Доставка - округ (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"title\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"true\"\n ],\n \"operation\": {\n \"code\": \"EQ\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"boolean\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"boolean\",\n \"type\": \"DIMENSION\",\n \"cast\": \"boolean\",\n \"formula\": \"[Дата заявки] < DATETRUNC((TODAY() -1), [scale])\",\n \"guid_formula\": \"[3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] < DATETRUNC((TODAY() -1), [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Продажи\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"Price\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Продажи\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782074007447, 1507164782074007448, NULL), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $13 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 09:02:27.545481+00', 'uid:systemId', '2023-09-11 09:02:27.545481+00', 1507172370811457514, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $14 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422579735\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422570832\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422554154\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"discrete\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422568249\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 09:00:25.337536+00', 'uid:systemId', '2023-09-11 09:00:25.337536+00', 1507171345740337127, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $15 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"New chart\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order date (scale)\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164789036552160, 1507164789036552159, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $16 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"k\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788860391389, 1507164788860391390, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $17 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"% Delivered\": \"5\",\n \"Delivered, %\": \"5\"\n },\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788675842011, 1507164788675842012, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $18 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788449349593, 1507164788449349594, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $19 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"geopolygon\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788273188824, 1507164788273188823, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $20 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788097028054, 1507164788097028053, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $21 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Avg among category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"category_name_level_3 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"title\": \"Product Link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 15,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Smart speakers\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product Link\",\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"formula\": \"URL(\\\"https://www.google.com/search$22q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$23q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search$24q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search$25q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3 (1)\",\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category 3\",\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg among category\",\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"AVG([Sales] FIXED [Category 3])\",\n \"guid_formula\": \"AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] FIXED [56135840-543d-11ed-8cd5-1d5809ea917a])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Diff to avg\",\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Quantity label\",\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"description\": \"\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"formula\": \"URL(\\\"https://www.google.com/search$26q=\\\" + [Product name], [Product name])\\r\\n\",\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"initial_data_type\": \"markup\",\n \"has_auto_aggregation\": false,\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"data_type\": \"markup\",\n \"title\": \"Product Link\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-6\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$27q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search$28q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search$29q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"markup\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"markup\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-46\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"eab840d0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Central\": \"18\",\n \"Jaffa\": \"19\",\n \"North\": \"5\",\n \"South\": \"11\"\n }\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"order_buyer_region_name\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-32\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#CCCC\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"fa1ed1b0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787895701459, 1507164787895701460, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $30 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales AGO\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Order date (scale)\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"valid\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"cast\": \"float\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787719540689, 1507164787719540690, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $31 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"title\": \"Diff to average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0e352060-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"11a519d0-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"19bf8880-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n },\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787534991311, 1507164787534991312, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $32 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 2,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"treemap\",\n \"type\": \"treemap\",\n \"name\": \"label_visualization-treemap\",\n \"allowFilters\": true,\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_dimensions\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521882125\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787358830541, 1507164787358830542, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $33 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"title\": \"Plan diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan diff\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee]-[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b])/[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b]\",\n \"formula\": \"([Sales]-[Plan])/[Plan]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787174281164, 1507164787174281163, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $34 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Label last\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Label last\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Label last\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786998120394, 1507164786998120393, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $35 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"title\": \"Point\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"title\": \"Delivered, % by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, % by region\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"097880a0-5398-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614882676\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Delivered, % by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Clusters\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786805182408, 1507164786805182407, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $36 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"local\": true,\n \"fakeTitle\": \"Delivery date\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"order_delivery_datetime\",\n \"originalTitle\": \"Delivery date\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786629021637, 1507164786629021638, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $37 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786444472260, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $38 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": true,\n \"virtual\": false,\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation\": \"none\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786217979842, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $39 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 50,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2e35bfc0-53d4-11ed-9996-050410c36b7c\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"fakeTitle\": \"AGO 1m\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786041819071, 1507164786041819072, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $40 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Product category 2\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"order_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"user_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785857269693, 1507164785857269694, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $41 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"colormap.retention\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-1\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"yellow-green-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.abs\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention.precalc\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"title\": \"abs-retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"colormap.retention.precalc\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\t(round([COUNTS])), \\r\\n\\t(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\t(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\t(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d])))\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.abs\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.retention\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"FirstOrder_Month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"30d\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"SQL Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"SQL Когорты\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"First Order\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"cast\": \"string\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-4\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785655943100, 1507164785655943099, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $42 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"title\": \"Подкатегория продукта - сумма\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Orders\",\n \"source\": \"order_id\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Подкатегория продукта - сумма\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"ProductSubcategory\",\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pie\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-pie\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785421062074, 1507164785421062073, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $43 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517989240\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517984518\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"bar\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785236512695, 1507164785236512696, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $44 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"title\": \"Product link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 8,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"title\": \"Product link\",\n \"data_type\": \"markup\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"markup\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"URL(\\\"https://www.google.com/search$45q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$46q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"markup\",\n \"title\": \"Product link\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$47q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"formula\": \"URL(\\\"https://www.google.com/search$48q=\\\" + [Product name], [Product name])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Product | 🔗 Click to go to dashboard by product\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"ead4b4f0-523b-11ed-bcb4-57270be790f2\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {}\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\"\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785051963317, 1507164785051963318, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $49 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"category_name_level_1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"category_name_level_1\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-36\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"category_name_level_1\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Auto\",\n \"Cottage and garden\",\n \"Equipment\",\n \"Household Goods\",\n \"Pet Products\",\n \"Pharmacy\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"% of total by years\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784867413940, 1507164784867413939, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $50 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#BA74B3\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784691253170, 1507164784691253169, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $51 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"title\": \"60 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"90 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"25 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Красная\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Красная\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"10\",\n \"guid_formula\": \"10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"25 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"90 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Diff\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"title\": \"90 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Diff\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"25 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"517278f0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Area\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"95 Quantile\": \"6\",\n \"Квантиль разница\": \"18\",\n \"25 Quantile\": \"2\",\n \"90 Quantile\": \"6\",\n \"Diff\": \"18\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Shipping time\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Line\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784498315183, 1507164784498315184, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $52 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784322154414, 1507164784322154413, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $53 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644496054\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivery service\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781855903638, 1507164781855903637, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $54 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Clients Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Clients percent of Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"title\": \"Clients\",\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"source\": \"user_id\",\n \"cast\": \"integer\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0ec0a130-53b3-11ed-981b-3d3870438bea\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781662965652, 1507164781662965651, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $55 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_creation_date\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781478416274, 1507164781478416273, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $56 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"Colormap\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781302255503, 1507164781302255504, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $57 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Order year\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Running sum Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781126094734, 1507164781126094733, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $58 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631862829561\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780933156748, 1507164780933156747, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $59 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Payment type\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780748607370, 1507164780748607369, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $60 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"title\": \"Sales in currency\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales in currency\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"currency\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"currency\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"default_value\": \"ILS\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\",\n \"value_constraint\": null,\n \"avatar_id\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780564057992, 1507164780564057991, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $61 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"aggregation\": \"avg\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Shipping time\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"949fefc0-5234-11ed-8935-39b8282a53d8\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780379508614, 1507164780379508613, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $62 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517557105\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780203347844, 1507164780203347843, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $63 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#84D1EE\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780035575682, 1507164780035575681, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $64 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Neighborhoods \",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\",\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"name\": \"Stores\",\n \"alpha\": 100,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779851026304, 1507164779851026303, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $65 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779666476926, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $66 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"title\": \"Date with max DAU within a month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"DIMENSION\",\n \"title\": \"Order month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"MEASURE\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"source\": \"\",\n \"cast\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"managed_by\": \"user\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"virtual\": false,\n \"description\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779490316156, 1507164779490316155, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $67 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Средний чек индикатор\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Средний чек индикатор\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": false,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"guid_formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779255435130, 1507164779255435129, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $68 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bouns\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Avg by category\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Sales]*0.97\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"2ec40a20-257e-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Bonus\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by category\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779020554104, 1507164779020554103, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $69 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"pink-gray-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"avatar_id\": null,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"YEAR([Order date])\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"Order year\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778810838902, 1507164778810838901, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $70 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778617900915, 1507164778617900916, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $71 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"dataset\": {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"route\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"latitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"longitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"distance_km\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"altitude\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"speed_kmh\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"timestamp\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": false,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"point_num\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"precision\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"run_routes\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"run_routes\",\n \"index_info_set\": null,\n \"parameter_hash\": \"d8a5c4b2ff666c2a\",\n \"valid\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"revision_id\": null,\n \"obligatory_filters\": [],\n \"avatar_relations\": [],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_5-5\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"mavg([speed_kmh],5,5)\",\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_2-2\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"MAVG([speed_kmh],2,2)\",\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"latitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"longitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"distance_km\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"altitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"timestamp\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n }\n ],\n \"rls\": {\n \"4c84ecb0-17d7-11ec-b071-594d21764286\": \"\",\n \"370bcb10-17d7-11ec-b071-594d21764286\": \"\",\n \"0a93f940-17d7-11ec-b071-594d21764286\": \"\",\n \"015e0b29-762f-4a41-82c7-5d86fcd0c359\": \"\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\": \"\",\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\": \"\",\n \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\": \"\",\n \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\": \"\",\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\": \"\",\n \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\": \"\",\n \"db35c272-f907-4e80-b54e-d9926e421d48\": \"\",\n \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\"\n ]\n },\n {\n \"dep_field_id\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n },\n {\n \"dep_field_id\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"02e14d11-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.run_routes\",\n \"valid\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Карты и геофункции/Маршруты\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"s6czlk5wiwiuj\",\n \"realName\": \"Маршруты\"\n }\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"title\": \"Доставка - район\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"DeliveryDistrictName\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630510217116\",\n \"datasetName\": \"Продажи\",\n \"filter\": {\n \"value\": [\n \"Кунцево\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900814150\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add\",\n \"field\": {\n \"quickFormula\": true,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"originalTitle\": \"Дата заявки\",\n \"originalFormula\": \"\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"aggregation\": \"none\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"fakeTitle\": \"Дата заявки\"\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"id\": \"inserted-1569803595553\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"local\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"undragable\": false\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"guid\": \"0c86b9ae-06fe-490c-8419-ab1a477bbd0f\",\n \"managed_by\": \"user\",\n \"source\": \"FinelAmount\",\n \"title\": \"Продажа с учетом скидки, ₽\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"calc_mode\": \"direct\",\n \"id\": \"inserted-1569803886498\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"labelMode\": \"percent\"\n }\n }\n ],\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"DeliveryAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505166942\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"b3c097a0-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Клиенты\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"title\": \"Доставка - район (полигон)\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"calc_mode\": \"direct\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1569874874842\"\n }\n ],\n \"required\": true,\n \"capacity\": null,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"yellow\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Районы\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"polyline\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": false,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"polyline\",\n \"type\": \"polyline\",\n \"title\": \"section_polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900884829\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"polylinePoints\": \"off\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": []\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"grouping\",\n \"type\": \"grouping\",\n \"title\": \"section_grouping\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900882793\",\n \"datasetName\": \"Маршруты\"\n }\n ]\n }\n ],\n \"layerSettings\": {\n \"type\": \"polyline\",\n \"id\": \"1847b060-17df-11ec-8410-31ac0377a84c\",\n \"name\": \"Маршрут аудитора\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900801390\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"1\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900840672\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"Москва\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505038662\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopName\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505351027\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Адрес магазина\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddress\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505344806\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"6d6a4e40-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Магазины\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"placeholders\": [],\n \"hidden\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778198470514, 1507164778198470513, NULL), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $72 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778013921136, 1507164778013921135, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $73 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777820983150, 1507164777820983149, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $74 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"title\": \"MoM, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"title\": \"MoM, % (#)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 20,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, % (#)\",\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"formula\": \"([Sales] - [AGO 1m]) /ABS([AGO 1m])\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, %\",\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"MoM, %\",\n \"hidden\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"62656de0-53d4-11ed-806a-656f0b795542\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"manual\",\n \"leftThreshold\": \"-1\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"red-orange-green\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"3c689620-53d5-11ed-806a-656f0b795542\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777628045164, 1507164777628045163, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $75 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"heatmap\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Heatmap\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"string\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"DeliveryDistrictName\",\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017712920\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"OrderID\",\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017621635\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017624549\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777443495786, 1507164777443495785, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $76 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order month\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1)\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"LAG\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"LAG([Sales], 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777250557799, 1507164777258946408, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $77 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"user_id\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"has_auto_aggregation\": false,\n \"title\": \"ClientID\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"OrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"has_auto_aggregation\": false,\n \"title\": \"OrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"FirstOrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777082785638, 1507164777074397029, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $78 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Forecast\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Forecast\": \"Dash\"\n }\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Plan\",\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Forecast\",\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"e45d1c70-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"[Продажа, ₽]*1.1\": \"1\",\n \"План\": \"2\"\n },\n \"fieldGuid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Forecast\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ]\n }\n }\n ],\n \"selectedLayerId\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776889847652, 1507164776889847651, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $79 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"title\": \"Label with brake\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"type\": \"MEASURE\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"title\": \"Label with brake\",\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"initial_data_type\": \"string\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"has_auto_aggregation\": true,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Label with brake\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"virtual\": false,\n \"cast\": \"date\",\n \"title\": \"Order month\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"has_auto_aggregation\": false,\n \"data_type\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"guid_formula\": \"\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"manual\",\n \"titleValue\": \"Число продуктов\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776705298274, 1507164776705298273, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $80 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg clients per day\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776512360287, 1507164776512360288, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $81 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"lock_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776327810909, 1507164776327810910, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $82 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631645887272\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Продажа, ₽\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": false,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631645945506\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Quantity\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776151650140, 1507164776151650139, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $83 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Max in every year Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Max in every year Label\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Max in every year Label\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775967100762, 1507164775967100761, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $84 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775790939992, 1507164775782551383, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $85 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775572836182, 1507164775564447573, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $86 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"string\",\n \"aggregation_locked\": false,\n \"data_type\": \"string\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"managed_by\": \"user\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"cast\": \"string\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775388286804, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $87 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775186960210, 1507164775186960209, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $88 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775010799440, 1507164775002410831, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $89 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales as % of TOTAL\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales as % of TOTAL\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales as % of TOTAL\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1,\n \"units\": null\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2a71c010-536a-11ed-a6bf-83c15c101a58\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164774742363981, 1507164774750752590, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $90 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631643553455\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Orders\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164774448762700, 1507164774415208267, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $91 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Constant\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"Constant\": \"Dash\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Constant\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Constant\",\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"Constant\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"Constant\": \"19\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Constant\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164774129995593, 1507164774129995594, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $92 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"s\",\n \"metricFontColor\": \"#BE2443\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773886725960, 1507164773886725959, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $93 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#FFC636\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773718953798, 1507164773718953797, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $94 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"off\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1666640570174\"\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773542793028, 1507164773542793027, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $95 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Sales\": \"15\",\n \"Moving avg 5 previous\": \"4\",\n \"Moving avg 5 previous and 5 next\": \"1\",\n \"Moving avg 14 previous and 14 next\": \"1\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Moving avg 5 previous\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Moving avg 5 previous\": \"Dash\",\n \"Moving avg 5 previous and 5 next\": \"LongDashDot\",\n \"Sales\": \"Solid\"\n }\n },\n \"sort\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order date\",\n \"source\": \"order_creation_date\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 5 previous\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 5) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-21\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Moving avg 5 previous\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"mavg([Sales], 5) \",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"cast\": \"float\",\n \"hidden\": false,\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"has_auto_aggregation\": true,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773349855042, 1507164773349855041, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $96 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"UNKNOWN\": \"15\",\n \"DESKTOP\": \"3\",\n \"MOBILE_BROWSER\": \"14\",\n \"ANDROID\": \"6\",\n \"IOS\": \"2\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"title\": \"Share Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"title\": \"Clients Share\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Clients Share\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Clients]/SUM([Clients] TOTAL)\",\n \"guid_formula\": \"[ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350]/SUM([ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Share Label\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"MAX([Platform]) + \\\" \\\" + LEFT(STR([Clients Share]*100),3) + \\\"%\\\"\",\n \"guid_formula\": \"MAX([b76344a2-2cc1-4f65-bb40-f81035853bf2]) + \\\" \\\" + LEFT(STR([216523c0-31ed-11ed-acd1-57895da41aa1]*100),3) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Platform\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773123362624, 1507164773123362623, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $97 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"5\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"RANK([Sales])\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"RANK([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772947201854, 1507164772947201853, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $98 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642623261\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642617405\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642621533\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772762652476, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $99 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"aggregation\": \"countunique\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"hidden\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772569714490, 1507164772569714489, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $100 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"m\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631646716962\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772267724600, 1507164772267724599, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $101 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [\n \"Central\"\n ],\n \"linesMode\": \"selected\",\n \"periodSettings\": {\n \"value\": \"12\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Техника для дома\": \"LongDashDot\",\n \"Central\": \"Solid\",\n \"Jaffa\": \"LongDash\",\n \"North\": \"Dash\",\n \"South\": \"Dot\"\n },\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771974123318, 1507164771974123317, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $102 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631645544892\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771747630900, 1507164771747630899, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $103 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"dataset\": {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n }\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631650892682\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771303034674, 1507164771294646065, NULL), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $104 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"percent\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631647315729\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"column\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771118485296, 1507164771110096687, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $105 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"title\": \"Undelivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644188445\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770850049838, 1507164770850049837, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $106 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770648723244, 1507164770648723243, '{"dataset": "qvnkqz8s0wdqf"}'); +INSERT INTO public.revisions (data, meta, created_by, created_at, updated_by, updated_at, rev_id, entry_id, links) VALUES + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $107 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"Категория\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770464173866, 1507164770464173865, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $108 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Plan\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"18\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"local\": true,\n \"quickFormula\": true,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"source\": \"\",\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"originalTitle\": \"Bonus\",\n \"fakeTitle\": \"Bonus\",\n \"aggregation\": \"sum\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"calc_mode\": \"formula\",\n \"formula\": \"[quantity]/10\",\n \"id\": \"measure-0\",\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 3\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770254458664, 1507164770254458663, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $109 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"gray\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"title\": \"Products\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"off\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Appliances\",\n \"Auto\",\n \"Books\",\n \"Equipment\",\n \"Leisure and entertainment\",\n \"Pet Products\",\n \"Products\",\n \"Sports and activities\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Products\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"tree_str\",\n \"valid\": true,\n \"data_type\": \"tree_str\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"tree_str\",\n \"title\": \"Products\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"tree_str\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"auto\",\n \"value\": \"500\"\n }\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"cast\": \"float\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"0b594020-523b-11ed-97a2-297ae2ad8641\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"leftThreshold\": \"0\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770061520678, 1507164770061520677, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $110 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"title\": \"Moving Average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"string\",\n \"guid\": \"scale\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"scale\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Moving Average\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"autoaggregated\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"data_type\": \"date\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"virtual\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Moving Average\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769633701666, 1507164769633701665, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $111 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769407209248, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $112 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Layer 1\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769197494046, 1507164769197494045, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $113 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164768249581338, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"avg\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"title\": \"Shipping time\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time] - [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:57:02.999715+00', 'uid:systemId', '2023-09-21 09:57:02.999715+00', 1514447605529052176, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"avg\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"title\": \"Shipping time\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time] - [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:57:07.801359+00', 'uid:systemId', '2023-09-21 09:57:07.801359+00', 1514447645072950289, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:58:23.958318+00', 'uid:systemId', '2023-09-21 09:58:23.958318+00', 1514448284024833042, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:59:09.272126+00', 'uid:systemId', '2023-09-21 09:59:09.272126+00', 1514448663995221011, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:59:13.060353+00', 'uid:systemId', '2023-09-21 09:59:13.060353+00', 1514448695779656724, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:59:44.517174+00', 'uid:systemId', '2023-09-21 09:59:44.517174+00', 1514448959693653013, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 09:59:48.756928+00', 'uid:systemId', '2023-09-21 09:59:48.756928+00', 1514448995303293974, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"title\": \"Подкатегория продукта - сумма\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"Charts: Pie chart\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n }\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Orders\",\n \"source\": \"order_id\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Подкатегория продукта - сумма\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"ProductSubcategory\",\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"pie-d3\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-pie\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visPie\",\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:02:17.129376+00', 'uid:systemId', '2023-09-21 10:02:17.129376+00', 1514450239963005975, 1507164785421062073, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Delivered, %\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:03:21.75928+00', 'uid:systemId', '2023-09-21 10:03:21.75928+00', 1514450782143906840, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Delivered, %\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:03:25.863088+00', 'uid:systemId', '2023-09-21 10:03:25.863088+00', 1514450816470090777, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:08:05.62842+00', 'uid:systemId', '2023-09-21 10:08:05.62842+00', 1514453163552277530, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"source\": \"order_creation_date\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:08:10.372176+00', 'uid:systemId', '2023-09-21 10:08:10.372176+00', 1514453203045843995, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"Date functions: Calendar table\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"on\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n }\n },\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"id\": \"visPivot\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {},\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:09:54.840671+00', 'uid:systemId', '2023-09-21 10:09:54.840671+00', 1514454079554716700, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"Date functions: Calendar table\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"off\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n }\n },\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"id\": \"visPivot\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {},\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"subTotalsSettings\": {\n \"enabled\": false\n }\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:10:12.700444+00', 'uid:systemId', '2023-09-21 10:10:12.700444+00', 1514454229241037853, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:11:49.61875+00', 'uid:systemId', '2023-09-21 10:11:49.61875+00', 1514455042239759390, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:11:53.674947+00', 'uid:systemId', '2023-09-21 10:11:53.674947+00', 1514455076205233183, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:12:37.043493+00', 'uid:systemId', '2023-09-21 10:12:37.043493+00', 1514455440354706464, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:12:40.23517+00', 'uid:systemId', '2023-09-21 10:12:40.23517+00', 1514455466795598881, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $114 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-21 10:12:59.902786+00', 'uid:systemId', '2023-09-21 10:12:59.902786+00', 1514455631765963810, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $115 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-21 10:13:05.568892+00', 'uid:systemId', '2023-09-21 10:13:05.568892+00', 1514455679245485091, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"hidden\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:13:22.137177+00', 'uid:systemId', '2023-09-21 10:13:22.137177+00', 1514455818253108260, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"hidden\": true\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 10:13:26.428205+00', 'uid:systemId', '2023-09-21 10:13:26.428205+00', 1514455854257013797, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"valid\": true,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:56:04.328653+00', 'uid:systemId', '2023-09-21 13:56:04.328653+00', 1514567908636754970, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:56:18.065933+00', 'uid:systemId', '2023-09-21 13:56:18.065933+00', 1514568023736845339, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"continuous\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:56:32.014101+00', 'uid:systemId', '2023-09-21 13:56:32.014101+00', 1514568140715983900, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 14:02:37.301727+00', 'uid:systemId', '2023-09-21 14:02:37.301727+00', 1514571204990600230, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"valid\": true,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:57:45.072636+00', 'uid:systemId', '2023-09-21 13:57:45.072636+00', 1514568753797399581, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": false,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order year\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order month\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"title\": \"Order date\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"discrete\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:58:26.368336+00', 'uid:systemId', '2023-09-21 13:58:26.368336+00', 1514569100272075806, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter-d3\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": false,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"avg\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"title\": \"Shipping time\",\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time] - [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"allowComments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 13:59:32.846219+00', 'uid:systemId', '2023-09-21 13:59:32.846219+00', 1514569657778963487, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildD3Config} = require(''libs/datalens/v3'');\n\nconst result = buildD3Config({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\",\n \"labelsPosition\": \"inside\"\n },\n \"filters\": [\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"UNKNOWN\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"bar-x-d3\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"valid\": true,\n \"title\": \"Platform\",\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"discrete\"\n }\n },\n \"iconProps\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {}\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"id\": \"visColumn\",\n \"width\": \"24\"\n },\n \"allowSegments\": false,\n \"hidden\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-21 15:36:53.956997+00', 'uid:systemId', '2023-09-21 15:36:53.956997+00', 1514618656728810514, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 13, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 23, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 9, "x": 0, "y": 6}, {"h": 5, "i": "K89", "w": 10, "x": 9, "y": 6}, {"h": 5, "i": "Zg5", "w": 9, "x": 19, "y": 6}, {"h": 5, "i": "4aO", "w": 8, "x": 28, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 10, "x": 9, "y": 11}, {"h": 13, "i": "23L", "w": 19, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 28}, {"h": 4, "i": "BW5", "w": 15, "x": 4, "y": 28}, {"h": 18, "i": "b08", "w": 19, "x": 0, "y": 32}, {"h": 4, "i": "V4y", "w": 17, "x": 19, "y": 28}, {"h": 18, "i": "9Qk", "w": 17, "x": 19, "y": 32}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 50}, {"h": 2, "i": "nOP", "w": 18, "x": 18, "y": 50}, {"h": 4, "i": "1R4", "w": 11, "x": 7, "y": 50}, {"h": 2, "i": "WzG", "w": 6, "x": 18, "y": 52}, {"h": 2, "i": "k3a", "w": 12, "x": 24, "y": 52}, {"h": 20, "i": "dLA", "w": 36, "x": 0, "y": 54}, {"h": 17, "i": "gvY", "w": 17, "x": 19, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "Edn", "w": 12, "x": 0, "y": 23}, {"h": 3, "i": "epA", "w": 12, "x": 0, "y": 20}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 37}, {"h": 6, "i": "AWA", "w": 9, "x": 18, "y": 40}, {"h": 6, "i": "3zr", "w": 9, "x": 9, "y": 40}, {"h": 6, "i": "abX", "w": 9, "x": 0, "y": 40}, {"h": 6, "i": "JbE", "w": 9, "x": 27, "y": 40}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 69}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 66}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 49}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 46}, {"h": 20, "i": "74n", "w": 18, "x": 0, "y": 84}, {"h": 3, "i": "N91", "w": 18, "x": 0, "y": 81}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 49}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$116q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 17}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 15}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 9}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 11}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 13}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 4, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 4, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 4, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 17, "i": "jPL", "w": 18, "x": 0, "y": 30}, {"h": 17, "i": "L3R", "w": 18, "x": 18, "y": 30}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 7}, {"h": 17, "i": "GAX", "w": 18, "x": 0, "y": 10}, {"h": 17, "i": "Ka4", "w": 18, "x": 18, "y": 10}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 27}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 17, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 17, "x": 0, "y": 21}, {"h": 12, "i": "7gg", "w": 17, "x": 0, "y": 40}, {"h": 15, "i": "AMe", "w": 17, "x": 0, "y": 51}, {"h": 12, "i": "3g5", "w": 17, "x": 0, "y": 68}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 19}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 38}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 49}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 66}, {"h": 10, "i": "NRY", "w": 19, "x": 17, "y": 9}, {"h": 17, "i": "AMA", "w": 19, "x": 17, "y": 21}, {"h": 4, "i": "MX1", "w": 19, "x": 17, "y": 40}, {"h": 6, "i": "3gr", "w": 19, "x": 17, "y": 51}, {"h": 4, "i": "v26", "w": 19, "x": 17, "y": 68}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 17, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 17, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 27}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 29}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 29}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 45}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 47}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 47}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 21, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 36, "x": 0, "y": 32}, {"h": 17, "i": "1kE", "w": 36, "x": 0, "y": 53}, {"h": 27, "i": "W15", "w": 24, "x": 12, "y": 73}, {"h": 21, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 36, "x": 0, "y": 29}, {"h": 4, "i": "e1J", "w": 36, "x": 0, "y": 49}, {"h": 18, "i": "dlQ", "w": 12, "x": 0, "y": 73}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 26}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 70}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-09-21 16:29:38.253744+00', 'uid:systemId', '2023-09-21 16:29:38.253744+00', 1514645201069540374, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74aq6s79dez": "af74aq6s79dez", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cs0b54by1": "ch96cs0b54by1", "ejb8ep80pi163": "ejb8ep80pi163", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagxhlpx4q5": "gldagxhlpx4q5", "infciq1c89je7": "infciq1c89je7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn4ak09vwc": "nskhn4ak09vwc", "otlio209vg4md": "otlio209vg4md", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "x2urxes3f5vwm": "x2urxes3f5vwm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"host": "pg-demo-connection", "name": null, "port": 5432, "ssl_ca": null, "db_name": "demo", "username": "demo", "ssl_enable": false, "table_name": null, "cache_ttl_sec": null, "raw_sql_level": "dashsql", "enforce_collate": "auto", "sample_table_name": null, "data_export_forbidden": false}', '{"state": "saved"}', 'uid:systemId', '2023-11-24 14:17:50.397706+00', 'uid:systemId', '2023-11-24 14:17:50.397706+00', 1560964511626691585, 1560964511626691586, '{}'), + ('{"rls": [], "name": null, "revision_id": "Mib8wzee3WzJKir4k5yjbP", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time] - [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "string", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "", "formula": "''Afeka''", "avatar_id": null, "calc_mode": "formula", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "''Afeka''", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "", "formula": "''Afeka''", "avatar_id": null, "calc_mode": "formula", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "''Afeka''", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "string", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "opensource-demo.orders", "valid": true, "is_root": true, "source_id": "5101db00-8ad4-11ee-a37c-41a7e3a6b924", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "opensource-demo.managers", "valid": true, "is_root": false, "source_id": "54ecd0d0-8ad4-11ee-a37c-41a7e3a6b924", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["order_order_status", "52808089-ec9b-41e1-bc7c-697221f5727e", "c81b1fa0-e207-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["order_order_status", "cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "5101db00-8ad4-11ee-a37c-41a7e3a6b924", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_version": "PostgreSQL 13.12 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit", "table_name": "orders", "schema_name": "opensource-demo"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": false, "description": "", "native_type": {"name": "numeric", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "genericdatetime", "title": "order_creation_date", "nullable": false, "description": "", "native_type": {"name": "timestamp", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": false, "description": "", "native_type": {"name": "timestamp", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "string", "title": "order_id", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": false, "description": "", "native_type": {"name": "integer", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": false, "description": "", "native_type": {"name": "integer", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": false, "description": "", "native_type": {"name": "boolean", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "string", "title": "user_id", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "PG_TABLE", "connection_id": "p8b94zefktpke"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "54ecd0d0-8ad4-11ee-a37c-41a7e3a6b924", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_version": "PostgreSQL 13.12 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit", "table_name": "managers", "schema_name": "opensource-demo"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "PG_TABLE", "connection_id": "p8b94zefktpke"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-11-24 14:19:09.073514+00', 'uid:systemId', '2023-11-24 14:19:09.073514+00', 1560965172305069060, 1507164769826639651, '{"5101db00-8ad4-11ee-a37c-41a7e3a6b924": "p8b94zefktpke", "54ecd0d0-8ad4-11ee-a37c-41a7e3a6b924": "p8b94zefktpke"}'), + ('{"rls": [], "name": "", "revision_id": "5iNgg6iJznN44EvZ4mT7Lm", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "string", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "Custom SQL", "valid": true, "is_root": true, "source_id": "56eb3842-5302-11ee-85f5-aba80832f682", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "56eb3842-5302-11ee-85f5-aba80832f682", "type": "collection", "title": "Custom SQL", "valid": true, "origin": {"parameters": {"subsql": "SELECT\n t1.user_id,\n t1.order_platform,\n date_trunc(''day'', t2.FirstDate) as \"FirstOrderDate\",\n date_trunc(''day'', t1.order_creation_date) as \"OrderDate\"\nFROM\n \"opensource-demo\".orders as t1,\n (SELECT\n user_id,\n MIN(order_creation_date) as FirstDate\n FROM \"opensource-demo\".orders\n GROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "string", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "text", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "text", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "genericdatetime", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "timestamp", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "genericdatetime", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "timestamp", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "PG_SUBSELECT", "connection_id": "p8b94zefktpke"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-11-24 14:19:50.718692+00', 'uid:systemId', '2023-11-24 14:19:50.718692+00', 1560965520767845382, 1507164767695933207, '{"56eb3842-5302-11ee-85f5-aba80832f682": "p8b94zefktpke"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 13, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 23, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 9, "x": 0, "y": 6}, {"h": 5, "i": "K89", "w": 10, "x": 9, "y": 6}, {"h": 5, "i": "Zg5", "w": 9, "x": 19, "y": 6}, {"h": 5, "i": "4aO", "w": 8, "x": 28, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 10, "x": 9, "y": 11}, {"h": 13, "i": "23L", "w": 19, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 28}, {"h": 4, "i": "BW5", "w": 15, "x": 4, "y": 28}, {"h": 18, "i": "b08", "w": 19, "x": 0, "y": 32}, {"h": 4, "i": "V4y", "w": 17, "x": 19, "y": 28}, {"h": 18, "i": "9Qk", "w": 17, "x": 19, "y": 32}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 50}, {"h": 2, "i": "nOP", "w": 18, "x": 18, "y": 50}, {"h": 4, "i": "1R4", "w": 11, "x": 7, "y": 50}, {"h": 2, "i": "WzG", "w": 6, "x": 18, "y": 52}, {"h": 2, "i": "k3a", "w": 12, "x": 24, "y": 52}, {"h": 20, "i": "dLA", "w": 36, "x": 0, "y": 54}, {"h": 17, "i": "gvY", "w": 17, "x": 19, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "Edn", "w": 12, "x": 0, "y": 23}, {"h": 3, "i": "epA", "w": 12, "x": 0, "y": 20}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 37}, {"h": 6, "i": "AWA", "w": 9, "x": 18, "y": 40}, {"h": 6, "i": "3zr", "w": 9, "x": 9, "y": 40}, {"h": 6, "i": "abX", "w": 9, "x": 0, "y": 40}, {"h": 6, "i": "JbE", "w": 9, "x": 27, "y": 40}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 69}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 66}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 49}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 46}, {"h": 20, "i": "74n", "w": 18, "x": 0, "y": 84}, {"h": 3, "i": "N91", "w": 18, "x": 0, "y": 81}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 49}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$116q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 17}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 15}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 9}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 11}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 13}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 4, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 4, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 4, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 17, "i": "jPL", "w": 18, "x": 0, "y": 30}, {"h": 17, "i": "L3R", "w": 18, "x": 18, "y": 30}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 7}, {"h": 17, "i": "GAX", "w": 18, "x": 0, "y": 10}, {"h": 17, "i": "Ka4", "w": 18, "x": 18, "y": 10}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 27}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 17, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 17, "x": 0, "y": 21}, {"h": 12, "i": "7gg", "w": 17, "x": 0, "y": 40}, {"h": 15, "i": "AMe", "w": 17, "x": 0, "y": 51}, {"h": 12, "i": "3g5", "w": 17, "x": 0, "y": 68}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 19}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 38}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 49}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 66}, {"h": 10, "i": "NRY", "w": 19, "x": 17, "y": 9}, {"h": 17, "i": "AMA", "w": 19, "x": 17, "y": 21}, {"h": 4, "i": "MX1", "w": 19, "x": 17, "y": 40}, {"h": 6, "i": "3gr", "w": 19, "x": 17, "y": 51}, {"h": 4, "i": "v26", "w": 19, "x": 17, "y": 68}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 17, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 17, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 27}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 29}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 29}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 21, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 36, "x": 0, "y": 32}, {"h": 17, "i": "1kE", "w": 36, "x": 0, "y": 53}, {"h": 27, "i": "W15", "w": 24, "x": 12, "y": 73}, {"h": 21, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 36, "x": 0, "y": 29}, {"h": 4, "i": "e1J", "w": 36, "x": 0, "y": 49}, {"h": 18, "i": "dlQ", "w": 12, "x": 0, "y": 73}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 26}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 70}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 14:21:44.602312+00', 'uid:systemId', '2023-11-24 14:21:44.602312+00', 1560966477924795400, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74aq6s79dez": "af74aq6s79dez", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cs0b54by1": "ch96cs0b54by1", "ejb8ep80pi163": "ejb8ep80pi163", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagxhlpx4q5": "gldagxhlpx4q5", "infciq1c89je7": "infciq1c89je7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn4ak09vwc": "nskhn4ak09vwc", "otlio209vg4md": "otlio209vg4md", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "x2urxes3f5vwm": "x2urxes3f5vwm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 13, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 23, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 9, "x": 0, "y": 6}, {"h": 5, "i": "K89", "w": 10, "x": 9, "y": 6}, {"h": 5, "i": "Zg5", "w": 9, "x": 19, "y": 6}, {"h": 5, "i": "4aO", "w": 8, "x": 28, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 10, "x": 9, "y": 11}, {"h": 13, "i": "23L", "w": 19, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 28}, {"h": 4, "i": "BW5", "w": 15, "x": 4, "y": 28}, {"h": 18, "i": "b08", "w": 19, "x": 0, "y": 32}, {"h": 4, "i": "V4y", "w": 17, "x": 19, "y": 28}, {"h": 18, "i": "9Qk", "w": 17, "x": 19, "y": 32}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 50}, {"h": 2, "i": "nOP", "w": 18, "x": 18, "y": 50}, {"h": 4, "i": "1R4", "w": 11, "x": 7, "y": 50}, {"h": 2, "i": "WzG", "w": 6, "x": 18, "y": 52}, {"h": 2, "i": "k3a", "w": 12, "x": 24, "y": 52}, {"h": 20, "i": "dLA", "w": 36, "x": 0, "y": 54}, {"h": 17, "i": "gvY", "w": 17, "x": 19, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "Edn", "w": 12, "x": 0, "y": 23}, {"h": 3, "i": "epA", "w": 12, "x": 0, "y": 20}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 37}, {"h": 6, "i": "AWA", "w": 9, "x": 18, "y": 40}, {"h": 6, "i": "3zr", "w": 9, "x": 9, "y": 40}, {"h": 6, "i": "abX", "w": 9, "x": 0, "y": 40}, {"h": 6, "i": "JbE", "w": 9, "x": 27, "y": 40}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 69}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 66}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 49}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 46}, {"h": 20, "i": "74n", "w": 18, "x": 0, "y": 84}, {"h": 3, "i": "N91", "w": 18, "x": 0, "y": 81}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 49}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$116q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 17}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 15}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 9}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 11}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 13}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 4, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 4, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 4, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 17, "i": "jPL", "w": 18, "x": 0, "y": 30}, {"h": 17, "i": "L3R", "w": 18, "x": 18, "y": 30}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 7}, {"h": 17, "i": "GAX", "w": 18, "x": 0, "y": 10}, {"h": 17, "i": "Ka4", "w": 18, "x": 18, "y": 10}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 27}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 17, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 17, "x": 0, "y": 21}, {"h": 12, "i": "7gg", "w": 17, "x": 0, "y": 40}, {"h": 15, "i": "AMe", "w": 17, "x": 0, "y": 51}, {"h": 12, "i": "3g5", "w": 17, "x": 0, "y": 68}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 19}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 38}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 49}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 66}, {"h": 10, "i": "NRY", "w": 19, "x": 17, "y": 9}, {"h": 17, "i": "AMA", "w": 19, "x": 17, "y": 21}, {"h": 4, "i": "MX1", "w": 19, "x": 17, "y": 40}, {"h": 6, "i": "3gr", "w": 19, "x": 17, "y": 51}, {"h": 4, "i": "v26", "w": 19, "x": 17, "y": 68}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 17, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 17, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 27}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 29}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 29}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT\n\tt1.user_id,\n\tt1.order_platform,\n\tdate_trunc(''day'', t2.FirstDate) as \"FirstOrderDate\",\n\tdate_trunc(''day'', t1.order_creation_date) as \"OrderDate\"\nFROM\n\t\"opensource-demo\".orders as t1,\n\t(SELECT\n\t\tuser_id,\n\t\tMIN(order_creation_date) as FirstDate\n\t\tFROM \"opensource-demo\".orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 21, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 36, "x": 0, "y": 32}, {"h": 17, "i": "1kE", "w": 36, "x": 0, "y": 52}, {"h": 27, "i": "W15", "w": 24, "x": 12, "y": 72}, {"h": 21, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 36, "x": 0, "y": 29}, {"h": 4, "i": "e1J", "w": 36, "x": 0, "y": 48}, {"h": 18, "i": "dlQ", "w": 12, "x": 0, "y": 72}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 26}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 69}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 14:23:00.850565+00', 'uid:systemId', '2023-11-24 14:23:00.850565+00', 1560967116373361674, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74aq6s79dez": "af74aq6s79dez", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cs0b54by1": "ch96cs0b54by1", "ejb8ep80pi163": "ejb8ep80pi163", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagxhlpx4q5": "gldagxhlpx4q5", "infciq1c89je7": "infciq1c89je7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn4ak09vwc": "nskhn4ak09vwc", "otlio209vg4md": "otlio209vg4md", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "x2urxes3f5vwm": "x2urxes3f5vwm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'); -INSERT INTO "public"."links" ("from_id", "to_id", "name") VALUES -(1507164769826639651, 1510137996244943888, '21fa32c0-52fe-11ee-a421-656ff8f1cbea'), -(1507164769826639651, 1510137996244943888, '2744dfa0-52fe-11ee-a421-656ff8f1cbea'), -(1507164767695933207, 1510137996244943888, '56eb3842-5302-11ee-85f5-aba80832f682'), -(1507164770061520677, 1507164769826639651, 'dataset'), -(1507164769633701665, 1507164769826639651, 'dataset'), -(1507164770464173865, 1507164769826639651, 'dataset'), -(1507164770648723243, 1507164769826639651, 'dataset'), -(1507164769197494045, 1507164769826639651, 'dataset'), -(1507164770254458663, 1507164769826639651, 'dataset'), -(1507164771110096687, 1507164769826639651, 'dataset'), -(1507164770850049837, 1507164769826639651, 'dataset'), -(1507164771747630899, 1507164769826639651, 'dataset'), -(1507164773349855041, 1507164769826639651, 'dataset'), -(1507164772947201853, 1507164769826639651, 'dataset'), -(1507164772569714489, 1507164769826639651, 'dataset'), -(1507164772267724599, 1507164769826639651, 'dataset'), -(1507164773123362623, 1507164769826639651, 'dataset'), -(1507164771974123317, 1507164769826639651, 'dataset'), -(1507164773542793027, 1507164769826639651, 'dataset'), -(1507164773886725959, 1507164769826639651, 'dataset'), -(1507164774415208267, 1507164769826639651, 'dataset'), -(1507164774750752590, 1507164769826639651, 'dataset'), -(1507164775002410831, 1507164769826639651, 'dataset'), -(1507164775186960209, 1507164769826639651, 'dataset'), -(1507164774129995594, 1507164769826639651, 'dataset'), -(1507164773718953797, 1507164769826639651, 'dataset'), -(1507164775564447573, 1507164769826639651, 'dataset'), -(1507164776327810910, 1507164769826639651, 'dataset'), -(1507164778617900916, 1507164769826639651, 'dataset'), -(1507164780035575681, 1507164769826639651, 'dataset'), -(1507164775782551383, 1507164769826639651, 'dataset'), -(1507164777443495785, 1507164769826639651, 'dataset'), -(1507164776151650139, 1507164769826639651, 'dataset'), -(1507164775967100761, 1507164769826639651, 'dataset'), -(1507164782971588511, 1507164769826639651, 'dataset'), -(1507164776512360288, 1507164769826639651, 'dataset'), -(1507164776705298273, 1507164769826639651, 'dataset'), -(1507164776889847651, 1507164769826639651, 'dataset'), -(1507164777074397029, 1507164767695933207, 'dataset'), -(1507164777258946408, 1507164769826639651, 'dataset'), -(1507164777628045163, 1507164769826639651, 'dataset'), -(1507164777820983149, 1507164769826639651, 'dataset'), -(1507164778013921135, 1507164769826639651, 'dataset'), -(1507164779255435129, 1507164769826639651, 'dataset'), -(1507164780564057991, 1507164769826639651, 'dataset'), -(1507164779020554103, 1507164769826639651, 'dataset'), -(1507164779851026303, 1507164769826639651, 'dataset'), -(1507164780203347843, 1507164769826639651, 'dataset'), -(1507164780379508613, 1507164769826639651, 'dataset'), -(1507164778810838901, 1507164769826639651, 'dataset'), -(1507164779490316155, 1507164769826639651, 'dataset'), -(1507164780748607369, 1507164769826639651, 'dataset'), -(1507164781302255504, 1507164767695933207, 'dataset'), -(1507164781126094733, 1507164769826639651, 'dataset'), -(1507164780933156747, 1507164769826639651, 'dataset'), -(1507164781478416273, 1507164769826639651, 'dataset'), -(1507164781662965651, 1507164769826639651, 'dataset'), -(1507164781855903637, 1507164769826639651, 'dataset'), -(1507164782317277082, 1507164769826639651, 'dataset'), -(1507164782493437851, 1507164769826639651, 'dataset'), -(1507164783164526497, 1507164769826639651, 'dataset'), -(1507164783558791078, 1507164769826639651, 'dataset'), -(1507164783357464484, 1507164769826639651, 'dataset'), -(1507164783944667049, 1507164769826639651, 'dataset'), -(1507164783760117671, 1507164769826639651, 'dataset'), -(1507164784322154413, 1507164769826639651, 'dataset'), -(1507164784498315184, 1507164769826639651, 'dataset'), -(1507164784137605036, 1507164769826639651, 'dataset'), -(1507164784691253169, 1507164769826639651, 'dataset'), -(1507164785051963318, 1507164769826639651, 'dataset'), -(1507164784867413939, 1507164769826639651, 'dataset'), -(1507164785236512696, 1507164769826639651, 'dataset'), -(1507164785655943099, 1507164767695933207, 'dataset'), -(1507164786041819072, 1507164769826639651, 'dataset'), -(1507164785857269694, 1507164769826639651, 'dataset'), -(1507164786629021638, 1507164769826639651, 'dataset'), -(1507164787719540690, 1507164769826639651, 'dataset'), -(1507164787534991312, 1507164769826639651, 'dataset'), -(1507164788273188823, 1507164769826639651, 'dataset'), -(1507164788097028053, 1507164767695933207, 'dataset'), -(1507164787895701460, 1507164769826639651, 'dataset'), -(1507164788449349594, 1507164769826639651, 'dataset'), -(1507164787174281163, 1507164769826639651, 'dataset'), -(1507164786998120393, 1507164769826639651, 'dataset'), -(1507164786805182407, 1507164769826639651, 'dataset'), -(1507164787358830542, 1507164769826639651, 'dataset'), -(1507164788860391390, 1507164769826639651, 'dataset'), -(1507164789036552159, 1507164769826639651, 'dataset'), -(1507164788675842012, 1507164769826639651, 'dataset'), -(1507189203752980463, 1507164769826639651, 'dataset'), -(1507164785421062073, 1507164769826639651, 'dataset'), -(1507164768249581337, 1507164769826639651, 'dataset'), -(1507164786217979841, 1507164769826639651, 'dataset'), -(1507164772762652475, 1507164769826639651, 'dataset'), -(1507164786444472259, 1507164769826639651, 'dataset'), -(1507164779666476925, 1507164769826639651, 'dataset'), -(1507164769407209247, 1507164769826639651, 'dataset'), -(1507164782770261917, 1507164769826639651, 'dataset'), -(1507171345740337126, 1507164769826639651, 'dataset'), -(1507164768509628187, 1507164769826639651, 'qvnkqz8s0wdqf'), -(1507164768509628187, 1507164782317277082, 'lqifl0t8hhrga'), -(1507164768509628187, 1507164782971588511, 'mrjgm1522opyb'), -(1507164768509628187, 1507164780035575681, 'kphekyrgzony9'), -(1507164768509628187, 1507164784691253169, '8d528ok4io2ax'), -(1507164768509628187, 1507164780379508613, 'otlio209vg4md'), -(1507164768509628187, 1507164783357464484, 'nskhn3dhudj0c'), -(1507164768509628187, 1507164770061520677, 'gldagp2ekyge5'), -(1507164768509628187, 1507164785051963318, 'tyqnt9bovid8i'), -(1507164768509628187, 1507164767695933207, 'infciq1c89je7'), -(1507164768509628187, 1507164785655943099, '27zw2juwp5emr'), -(1507164768509628187, 1507171345740337126, '16yxd7gojiacq'), -(1507164768509628187, 1507164769407209247, 'mrjgmvxq6yo2b'), -(1507164768509628187, 1507164779666476925, '05xu0e1so1o6p'), -(1507164768509628187, 1507164785421062073, 'ch96cs0b54by1'), -(1507164768509628187, 1507164788860391390, 'tyqntb2nacawi'), -(1507164768509628187, 1507164773718953797, '05xu0bafozgep'), -(1507164768509628187, 1507164779255435129, '491y4iy424wmt'), -(1507164768509628187, 1507164773886725959, 'y3vsy9b5iv86n'), -(1507164768509628187, 1507164778810838901, 'ch96cpyzl3hm1'), -(1507164768509628187, 1507164785857269694, 'x2urxes3f5vwm'), -(1507164768509628187, 1507164786217979841, 'gldagxhlpx4q5'), -(1507164768509628187, 1507164786444472259, 'y3vsyf3u2yaan'), -(1507164768509628187, 1507164787534991312, 'nskhn4ak09vwc'), -(1507164768509628187, 1507164775782551383, 'mrjgmyu6wn56b'), -(1507164768509628187, 1507164782770261917, 'sxpms78wdpaqh'), -(1507164768509628187, 1507164787895701460, 'z4wtzhsv4vxko'), -(1507164768509628187, 1507164770464173865, '491y4ewqzvbut'), -(1507164768509628187, 1507164772762652475, 'ejb8ep80pi163'), -(1507164768509628187, 1507164777628045163, '27zw2f553fpqr'), -(1507164768509628187, 1507164772947201853, 'sxpms3pgygm6h'), -(1507164768509628187, 1507164783760117671, 'af74aq6s79dez'), -(1507164768509628187, 1507164774750752590, 'tyqnt5kbstbsi'), -(1507164768509628187, 1507164768249581337, 'ch96cl4boozy1'), -(1507164768509628187, 1507164781126094733, '8d528nx6xy7ix'), -(1507164768509628187, 1507164781662965651, 'qvnkq5oj2gy2f'), -(1507164768509628187, 1507164776512360288, 'rwolr3bej5gwg'), -(1507164768509628187, 1507164779490316155, 'uzrou8sqm5zaj'), -(1507164768509628187, 1507164775379898195, 'y3vsya0uiqbqn'), -(1507164768509628187, 1507164777074397029, '491y4hy1jw5yt'), -(1507164768509628187, 1507164788097028053, 'sxpmsao0sscqh'), -(1507164768509628187, 1507164781302255504, 'fkc9fu79zvxg4'), -(1507164775379898195, 1507164769826639651, 'dataset'); +INSERT INTO public.links (from_id, to_id, name) VALUES + (1507164770061520677, 1507164769826639651, 'dataset'), + (1507164769633701665, 1507164769826639651, 'dataset'), + (1507164770464173865, 1507164769826639651, 'dataset'), + (1507164770648723243, 1507164769826639651, 'dataset'), + (1507164769197494045, 1507164769826639651, 'dataset'), + (1507164770254458663, 1507164769826639651, 'dataset'), + (1507164771110096687, 1507164769826639651, 'dataset'), + (1507164770850049837, 1507164769826639651, 'dataset'), + (1507164771747630899, 1507164769826639651, 'dataset'), + (1507164773349855041, 1507164769826639651, 'dataset'), + (1507164772947201853, 1507164769826639651, 'dataset'), + (1507164772569714489, 1507164769826639651, 'dataset'), + (1507164772267724599, 1507164769826639651, 'dataset'), + (1507164773123362623, 1507164769826639651, 'dataset'), + (1507164771974123317, 1507164769826639651, 'dataset'), + (1507164773542793027, 1507164769826639651, 'dataset'), + (1507164773886725959, 1507164769826639651, 'dataset'), + (1507164774415208267, 1507164769826639651, 'dataset'), + (1507164774750752590, 1507164769826639651, 'dataset'), + (1507164775002410831, 1507164769826639651, 'dataset'), + (1507164775186960209, 1507164769826639651, 'dataset'), + (1507164774129995594, 1507164769826639651, 'dataset'), + (1507164773718953797, 1507164769826639651, 'dataset'), + (1507164775564447573, 1507164769826639651, 'dataset'), + (1507164776327810910, 1507164769826639651, 'dataset'), + (1507164778617900916, 1507164769826639651, 'dataset'), + (1507164780035575681, 1507164769826639651, 'dataset'), + (1507164775782551383, 1507164769826639651, 'dataset'), + (1507164777443495785, 1507164769826639651, 'dataset'), + (1507164776151650139, 1507164769826639651, 'dataset'), + (1507164775967100761, 1507164769826639651, 'dataset'), + (1507164782971588511, 1507164769826639651, 'dataset'), + (1507164776512360288, 1507164769826639651, 'dataset'), + (1507164776705298273, 1507164769826639651, 'dataset'), + (1507164776889847651, 1507164769826639651, 'dataset'), + (1507164777074397029, 1507164767695933207, 'dataset'), + (1507164777258946408, 1507164769826639651, 'dataset'), + (1507164777628045163, 1507164769826639651, 'dataset'), + (1507164777820983149, 1507164769826639651, 'dataset'), + (1507164778013921135, 1507164769826639651, 'dataset'), + (1507164779255435129, 1507164769826639651, 'dataset'), + (1507164780564057991, 1507164769826639651, 'dataset'), + (1507164779020554103, 1507164769826639651, 'dataset'), + (1507164779851026303, 1507164769826639651, 'dataset'), + (1507164780203347843, 1507164769826639651, 'dataset'), + (1507164780379508613, 1507164769826639651, 'dataset'), + (1507164778810838901, 1507164769826639651, 'dataset'), + (1507164779490316155, 1507164769826639651, 'dataset'), + (1507164780748607369, 1507164769826639651, 'dataset'), + (1507164781302255504, 1507164767695933207, 'dataset'), + (1507164781126094733, 1507164769826639651, 'dataset'), + (1507164780933156747, 1507164769826639651, 'dataset'), + (1507164781478416273, 1507164769826639651, 'dataset'), + (1507164781662965651, 1507164769826639651, 'dataset'), + (1507164781855903637, 1507164769826639651, 'dataset'), + (1507164782317277082, 1507164769826639651, 'dataset'), + (1507164782493437851, 1507164769826639651, 'dataset'), + (1507164783164526497, 1507164769826639651, 'dataset'), + (1507164783558791078, 1507164769826639651, 'dataset'), + (1507164783357464484, 1507164769826639651, 'dataset'), + (1507164783944667049, 1507164769826639651, 'dataset'), + (1507164783760117671, 1507164769826639651, 'dataset'), + (1507164784322154413, 1507164769826639651, 'dataset'), + (1507164784498315184, 1507164769826639651, 'dataset'), + (1507164784137605036, 1507164769826639651, 'dataset'), + (1507164784691253169, 1507164769826639651, 'dataset'), + (1507164785051963318, 1507164769826639651, 'dataset'), + (1507164784867413939, 1507164769826639651, 'dataset'), + (1507164785236512696, 1507164769826639651, 'dataset'), + (1507164785655943099, 1507164767695933207, 'dataset'), + (1507164786041819072, 1507164769826639651, 'dataset'), + (1507164785857269694, 1507164769826639651, 'dataset'), + (1507164786629021638, 1507164769826639651, 'dataset'), + (1507164787719540690, 1507164769826639651, 'dataset'), + (1507164787534991312, 1507164769826639651, 'dataset'), + (1507164788273188823, 1507164769826639651, 'dataset'), + (1507164788097028053, 1507164767695933207, 'dataset'), + (1507164787895701460, 1507164769826639651, 'dataset'), + (1507164788449349594, 1507164769826639651, 'dataset'), + (1507164787174281163, 1507164769826639651, 'dataset'), + (1507164786998120393, 1507164769826639651, 'dataset'), + (1507164786805182407, 1507164769826639651, 'dataset'), + (1507164787358830542, 1507164769826639651, 'dataset'), + (1507164788860391390, 1507164769826639651, 'dataset'), + (1507164789036552159, 1507164769826639651, 'dataset'), + (1507164788675842012, 1507164769826639651, 'dataset'), + (1507189203752980463, 1507164769826639651, 'dataset'), + (1507164785421062073, 1507164769826639651, 'dataset'), + (1507164768249581337, 1507164769826639651, 'dataset'), + (1507164786217979841, 1507164769826639651, 'dataset'), + (1507164772762652475, 1507164769826639651, 'dataset'), + (1507164786444472259, 1507164769826639651, 'dataset'), + (1507164779666476925, 1507164769826639651, 'dataset'), + (1507164769407209247, 1507164769826639651, 'dataset'), + (1507164782770261917, 1507164769826639651, 'dataset'), + (1507171345740337126, 1507164769826639651, 'dataset'), + (1507164775379898195, 1507164769826639651, 'dataset'), + (1507164769826639651, 1560964511626691586, '5101db00-8ad4-11ee-a37c-41a7e3a6b924'), + (1507164769826639651, 1560964511626691586, '54ecd0d0-8ad4-11ee-a37c-41a7e3a6b924'), + (1507164767695933207, 1560964511626691586, '56eb3842-5302-11ee-85f5-aba80832f682'); +INSERT INTO public.links (from_id, to_id, name) VALUES + (1507164768509628187, 1507164769826639651, 'qvnkqz8s0wdqf'), + (1507164768509628187, 1507164782317277082, 'lqifl0t8hhrga'), + (1507164768509628187, 1507164782971588511, 'mrjgm1522opyb'), + (1507164768509628187, 1507164780035575681, 'kphekyrgzony9'), + (1507164768509628187, 1507164784691253169, '8d528ok4io2ax'), + (1507164768509628187, 1507164780379508613, 'otlio209vg4md'), + (1507164768509628187, 1507164783357464484, 'nskhn3dhudj0c'), + (1507164768509628187, 1507164770061520677, 'gldagp2ekyge5'), + (1507164768509628187, 1507164785051963318, 'tyqnt9bovid8i'), + (1507164768509628187, 1507164767695933207, 'infciq1c89je7'), + (1507164768509628187, 1507164785655943099, '27zw2juwp5emr'), + (1507164768509628187, 1507171345740337126, '16yxd7gojiacq'), + (1507164768509628187, 1507164769407209247, 'mrjgmvxq6yo2b'), + (1507164768509628187, 1507164779666476925, '05xu0e1so1o6p'), + (1507164768509628187, 1507164785421062073, 'ch96cs0b54by1'), + (1507164768509628187, 1507164788860391390, 'tyqntb2nacawi'), + (1507164768509628187, 1507164773718953797, '05xu0bafozgep'), + (1507164768509628187, 1507164779255435129, '491y4iy424wmt'), + (1507164768509628187, 1507164773886725959, 'y3vsy9b5iv86n'), + (1507164768509628187, 1507164778810838901, 'ch96cpyzl3hm1'), + (1507164768509628187, 1507164785857269694, 'x2urxes3f5vwm'), + (1507164768509628187, 1507164786217979841, 'gldagxhlpx4q5'), + (1507164768509628187, 1507164786444472259, 'y3vsyf3u2yaan'), + (1507164768509628187, 1507164787534991312, 'nskhn4ak09vwc'), + (1507164768509628187, 1507164775782551383, 'mrjgmyu6wn56b'), + (1507164768509628187, 1507164782770261917, 'sxpms78wdpaqh'), + (1507164768509628187, 1507164787895701460, 'z4wtzhsv4vxko'), + (1507164768509628187, 1507164770464173865, '491y4ewqzvbut'), + (1507164768509628187, 1507164772762652475, 'ejb8ep80pi163'), + (1507164768509628187, 1507164777628045163, '27zw2f553fpqr'), + (1507164768509628187, 1507164772947201853, 'sxpms3pgygm6h'), + (1507164768509628187, 1507164783760117671, 'af74aq6s79dez'), + (1507164768509628187, 1507164774750752590, 'tyqnt5kbstbsi'), + (1507164768509628187, 1507164768249581337, 'ch96cl4boozy1'), + (1507164768509628187, 1507164781126094733, '8d528nx6xy7ix'), + (1507164768509628187, 1507164781662965651, 'qvnkq5oj2gy2f'), + (1507164768509628187, 1507164776512360288, 'rwolr3bej5gwg'), + (1507164768509628187, 1507164775379898195, 'y3vsya0uiqbqn'), + (1507164768509628187, 1507164777074397029, '491y4hy1jw5yt'), + (1507164768509628187, 1507164788097028053, 'sxpmsao0sscqh'), + (1507164768509628187, 1507164781302255504, 'fkc9fu79zvxg4'); diff --git a/scripts/demo/hc-data.sql b/scripts/demo/hc-data.sql index 3f58d401..8398a5e9 100644 --- a/scripts/demo/hc-data.sql +++ b/scripts/demo/hc-data.sql @@ -1,419 +1,413 @@ -INSERT INTO "public"."workbooks" ("workbook_id", "title", "description", "project_id", "tenant_id", "meta", "created_by", "created_at", "deleted_at", "is_template", "collection_id", "deleted_by", "updated_by", "updated_at", "title_lower", "sort_title") VALUES -(1507164764046888724, 'OpensourceDemo', '', NULL, 'common', '{}', 'systemId', '2023-09-11 11:47:20.751846+03', NULL, 'f', NULL, NULL, 'systemId', '2023-09-11 11:47:20.751846+03', 'opensourcedemo', '\x4f70656e736f7572636544656d6f'); +INSERT INTO public.workbooks (workbook_id, title, description, project_id, tenant_id, meta, created_by, created_at, deleted_at, is_template, collection_id, deleted_by, updated_by, updated_at, title_lower, sort_title) VALUES + (1507164764046888724, 'OpensourceDemo', '', NULL, 'common', '{}', 'systemId', '2023-09-11 08:47:20.751846+00', NULL, false, NULL, NULL, 'systemId', '2023-09-11 08:47:20.751846+00', 'opensourcedemo', '\x4f70656e736f7572636544656d6f'); -INSERT INTO "public"."entries" ("scope", "type", "key", "inner_meta", "created_by", "created_at", "updated_by", "updated_at", "is_deleted", "deleted_at", "hidden", "display_key", "entry_id", "saved_id", "published_id", "tenant_id", "name", "sort_name", "public", "unversioned_data", "workbook_id") VALUES -('connection', 'ch_frozen_demo', '__trash/1507164766655745813_Demo Dashboard. Connection', '{"oldKey": "1507164766655745813/demo dashboard. connection", "oldDisplayKey": "1507164766655745813/Demo Dashboard. Connection"}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-14 16:28:38.641703+03', 't', '2023-09-14 16:28:38.641703+03', 'f', '__trash/1507164766655745813_Demo Dashboard. Connection', 1507164766655745813, 1507164766655745814, NULL, 'common', '1507164766655745813_Demo Dashboard. Connection', '\x32313931353037313634373636363535373435383133002144656d6f2044617368626f6172642e20436f6e6e656374696f6e', 'f', '{"password": null}', 1507164764046888724), -('dataset', '', '1507164767695933207/cohorts', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164767695933207/Cohorts', 1507164767695933207, 1509479774060283664, NULL, 'common', 'cohorts', '\x636f686f727473', 'f', '{}', 1507164764046888724), -('dataset', '', '1507164769826639651/orders', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769826639651/Orders', 1507164769826639651, 1509465520934487792, NULL, 'common', 'orders', '\x6f7264657273', 'f', '{}', 1507164764046888724), -('connection', 'clickhouse', '1510137996244943888/ch', NULL, 'uid:systemId', '2023-09-15 14:14:37.634851+03', 'uid:systemId', '2023-09-15 14:14:37.634851+03', 'f', NULL, 'f', '1510137996244943888/ch', 1510137996244943888, 1510137996244943889, NULL, 'common', 'ch', '\x6368', 'f', '{"password": {"key_id": "key_1", "key_kind": "local_fernet", "cypher_text": "gAAAAABlBDyd2TBjo-SSK6lIPcnZANo28Krs9jcsY0angf0kY1hgApa3NKrDuhBINq9-OnBVTmGWAJNhMG_nABOJ70rZARxUN0Py8-zAVdtFTjEdi11tltM="}}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507189203752980463/sales by regions', NULL, 'uid:systemId', '2023-09-11 12:35:54.179495+03', 'uid:systemId', '2023-09-11 12:35:54.273409+03', 'f', NULL, 'f', '1507189203752980463/Sales by regions', 1507189203752980463, 1507189203752980462, 1507189203752980462, 'common', 'sales by regions', '\x73616c657320627920726567696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507171345740337126/scatter by regions', NULL, 'uid:systemId', '2023-09-11 12:00:25.337536+03', 'uid:systemId', '2023-09-11 12:00:25.532893+03', 'f', NULL, 'f', '1507171345740337126/Scatter by regions', 1507171345740337126, 1507172370811457514, 1507172370811457514, 'common', 'scatter by regions', '\x7363617474657220627920726567696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164789036552159/demo: delivered, % in time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164789036552159/Demo: Delivered, % in time', 1507164789036552159, 1507164789036552160, 1507164789036552160, 'common', 'demo: delivered, % in time', '\x64656d6f3a2064656c6976657265642c202520696e2074696d65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164788860391390/demo: quantity', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788860391390/Demo: Quantity', 1507164788860391390, 1507164788860391389, 1507164788860391389, 'common', 'demo: quantity', '\x64656d6f3a207175616e74697479', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164788675842012/demo: delivered %', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788675842012/Demo: Delivered %', 1507164788675842012, 1507164788675842011, 1507164788675842011, 'common', 'demo: delivered %', '\x64656d6f3a2064656c6976657265642025', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164788449349594/charts: area chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788449349594/Charts: Area chart', 1507164788449349594, 1507164788449349593, 1507164788449349593, 'common', 'charts: area chart', '\x6368617274733a2061726561206368617274', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164788273188823/maps: polygons', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788273188823/Maps: Polygons', 1507164788273188823, 1507164788273188824, 1507164788273188824, 'common', 'maps: polygons', '\x6d6170733a20706f6c79676f6e73', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164788097028053/cohorts: basic', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164788097028053/Cohorts: Basic', 1507164788097028053, 1507164788097028054, 1507164788097028054, 'common', 'cohorts: basic', '\x636f686f7274733a206261736963', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164787895701460/formating: url and table formating', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787895701460/Formating: URL and table formating', 1507164787895701460, 1507164787895701459, 1507164787895701459, 'common', 'formating: url and table formating', '\x666f726d6174696e673a2075726c20616e64207461626c6520666f726d6174696e67', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164787719540690/parameters: scale and ago', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787719540690/Parameters: Scale and AGO', 1507164787719540690, 1507164787719540689, 1507164787719540689, 'common', 'parameters: scale and ago', '\x706172616d65746572733a207363616c6520616e642061676f', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164787534991312/charts: table with bars', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787534991312/Charts: Table with bars', 1507164787534991312, 1507164787534991311, 1507164787534991311, 'common', 'charts: table with bars', '\x6368617274733a207461626c6520776974682062617273', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164787358830542/charts: treemap', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787358830542/Charts: Treemap', 1507164787358830542, 1507164787358830541, 1507164787358830541, 'common', 'charts: treemap', '\x6368617274733a20747265656d6170', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164787174281163/charts: comb plan and fact', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164787174281163/Charts: Comb Plan and Fact', 1507164787174281163, 1507164787174281164, 1507164787174281164, 'common', 'charts: comb plan and fact', '\x6368617274733a20636f6d6220706c616e20616e642066616374', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164786998120393/window functions: last label', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786998120393/Window functions: Last label', 1507164786998120393, 1507164786998120394, 1507164786998120394, 'common', 'window functions: last label', '\x77696e646f772066756e6374696f6e733a206c617374206c6162656c', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164786805182407/demo: map 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786805182407/Demo: Map 2', 1507164786805182407, 1507164786805182408, 1507164786805182408, 'common', 'demo: map 2', '\x64656d6f3a206d61702000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164786629021638/date functions: datetrunc', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786629021638/Date functions: Datetrunc', 1507164786629021638, 1507164786629021637, 1507164786629021637, 'common', 'date functions: datetrunc', '\x646174652066756e6374696f6e733a20646174657472756e63', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164786444472259/charts: column chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786444472259/Charts: Column chart', 1507164786444472259, 1507164786444472260, 1507164786444472260, 'common', 'charts: column chart', '\x6368617274733a20636f6c756d6e206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164786217979841/charts: scatterplot', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786217979841/Charts: Scatterplot', 1507164786217979841, 1507164786217979842, 1507164786217979842, 'common', 'charts: scatterplot', '\x6368617274733a2073636174746572706c6f74', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164775186960209/maps: points', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775186960209/Maps: Points', 1507164775186960209, 1507164775186960210, 1507164775186960210, 'common', 'maps: points', '\x6d6170733a20706f696e7473', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164786041819072/date functions: ago 1m', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164786041819072/Date functions: AGO 1M', 1507164786041819072, 1507164786041819071, 1507164786041819071, 'common', 'date functions: ago 1m', '\x646174652066756e6374696f6e733a2061676f2000313131006d', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164785857269694/charts: table simple', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785857269694/Charts: Table simple', 1507164785857269694, 1507164785857269693, 1507164785857269693, 'common', 'charts: table simple', '\x6368617274733a207461626c652073696d706c65', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164785655943099/cohorts: abs and retention', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785655943099/Cohorts: Abs and Retention', 1507164785655943099, 1507164785655943100, 1507164785655943100, 'common', 'cohorts: abs and retention', '\x636f686f7274733a2061627320616e6420726574656e74696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164785421062073/charts: pie chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785421062073/Charts: Pie chart', 1507164785421062073, 1507164785421062074, 1507164785421062074, 'common', 'charts: pie chart', '\x6368617274733a20706965206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164785236512696/charts: normalized bar chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785236512696/Charts: Normalized bar chart', 1507164785236512696, 1507164785236512695, 1507164785236512695, 'common', 'charts: normalized bar chart', '\x6368617274733a206e6f726d616c697a656420626172206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164785051963318/demo: top products', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164785051963318/Demo: Top products', 1507164785051963318, 1507164785051963317, 1507164785051963317, 'common', 'demo: top products', '\x64656d6f3a20746f702070726f6475637473', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164784867413939/window functions: before filter by', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784867413939/Window functions: Before Filter By', 1507164784867413939, 1507164784867413940, 1507164784867413940, 'common', 'window functions: before filter by', '\x77696e646f772066756e6374696f6e733a206265666f72652066696c746572206279', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164784691253169/demo: clients', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784691253169/Demo: Clients', 1507164784691253169, 1507164784691253170, 1507164784691253170, 'common', 'demo: clients', '\x64656d6f3a20636c69656e7473', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164784498315184/demo: avg shipping time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784498315184/Demo: Avg shipping time', 1507164784498315184, 1507164784498315183, 1507164784498315183, 'common', 'demo: avg shipping time', '\x64656d6f3a20617667207368697070696e672074696d65', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164784322154413/maps: clusters', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784322154413/Maps: Clusters', 1507164784322154413, 1507164784322154414, 1507164784322154414, 'common', 'maps: clusters', '\x6d6170733a20636c757374657273', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164784137605036/date functions: datepart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164784137605036/Date functions: Datepart', 1507164784137605036, 1507164784137605035, 1507164784137605035, 'common', 'date functions: datepart', '\x646174652066756e6374696f6e733a206461746570617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164783944667049/window functions: nested window functions', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783944667049/Window functions: Nested window functions', 1507164783944667049, 1507164783944667050, 1507164783944667050, 'common', 'window functions: nested window functions', '\x77696e646f772066756e6374696f6e733a206e65737465642077696e646f772066756e6374696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164783760117671/window functions: top 3 each category', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783760117671/Window functions: Top 3 each category', 1507164783760117671, 1507164783760117672, 1507164783760117672, 'common', 'window functions: top 3 each category', '\x77696e646f772066756e6374696f6e733a20746f7020003131330020656163682063617465676f7279', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164783558791078/charts: combo with average', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783558791078/Charts: Combo with average', 1507164783558791078, 1507164783558791077, 1507164783558791077, 'common', 'charts: combo with average', '\x6368617274733a20636f6d626f20776974682061766572616765', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164783357464484/demo: table by regions', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783357464484/Demo: Table by regions', 1507164783357464484, 1507164783357464483, 1507164783357464483, 'common', 'demo: table by regions', '\x64656d6f3a207461626c6520627920726567696f6e73', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164783164526497/formating: bars with emoji', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164783164526497/Formating: Bars with emoji', 1507164783164526497, 1507164783164526498, 1507164783164526498, 'common', 'formating: bars with emoji', '\x666f726d6174696e673a2062617273207769746820656d6f6a69', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164782971588511/demo: shipping time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782971588511/Demo: Shipping time', 1507164782971588511, 1507164782979977120, 1507164782979977120, 'common', 'demo: shipping time', '\x64656d6f3a207368697070696e672074696d65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164782770261917/hierarchy: date drill down', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782770261917/Hierarchy: Date drill down', 1507164782770261917, 1507164782770261918, 1507164782770261918, 'common', 'hierarchy: date drill down', '\x6869657261726368793a2064617465206472696c6c20646f776e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164782493437851/demo: platforms in time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782493437851/Demo: Platforms in time', 1507164782493437851, 1507164782493437852, 1507164782493437852, 'common', 'demo: platforms in time', '\x64656d6f3a20706c6174666f726d7320696e2074696d65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164782317277082/demo: sales', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782317277082/Demo: Sales', 1507164782317277082, 1507164782317277081, 1507164782317277081, 'common', 'demo: sales', '\x64656d6f3a2073616c6573', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164782074007448/parameters: scale full period', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164782074007448/Parameters: Scale full period', 1507164782074007448, 1507164782074007447, 1507164782074007447, 'common', 'parameters: scale full period', '\x706172616d65746572733a207363616c652066756c6c20706572696f64', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164781855903637/charts: bar chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781855903637/Charts: Bar chart', 1507164781855903637, 1507164781855903638, 1507164781855903638, 'common', 'charts: bar chart', '\x6368617274733a20626172206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164781662965651/lod: fixed', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781662965651/LOD: FIXED', 1507164781662965651, 1507164781662965652, 1507164781662965652, 'common', 'lod: fixed', '\x6c6f643a206669786564', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164781478416273/date functions: navigator', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781478416273/Date functions: Navigator', 1507164781478416273, 1507164781478416274, 1507164781478416274, 'common', 'date functions: navigator', '\x646174652066756e6374696f6e733a206e6176696761746f72', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164781302255504/cohorts: abs values', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781302255504/Cohorts: Abs values', 1507164781302255504, 1507164781302255503, 1507164781302255503, 'common', 'cohorts: abs values', '\x636f686f7274733a206162732076616c756573', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164781126094733/window functions: running sum', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164781126094733/Window functions: Running sum', 1507164781126094733, 1507164781126094734, 1507164781126094734, 'common', 'window functions: running sum', '\x77696e646f772066756e6374696f6e733a2072756e6e696e672073756d', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780933156747/hierarchy: pie chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780933156747/Hierarchy: Pie chart', 1507164780933156747, 1507164780933156748, 1507164780933156748, 'common', 'hierarchy: pie chart', '\x6869657261726368793a20706965206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780748607369/hierarchy: line chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780748607369/Hierarchy: Line chart', 1507164780748607369, 1507164780748607370, 1507164780748607370, 'common', 'hierarchy: line chart', '\x6869657261726368793a206c696e65206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780564057991/parameters: currency calculator', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780564057991/Parameters: Currency calculator', 1507164780564057991, 1507164780564057992, 1507164780564057992, 'common', 'parameters: currency calculator', '\x706172616d65746572733a2063757272656e63792063616c63756c61746f72', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164780379508613/demo: table by region 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780379508613/Demo: Table by Region 2', 1507164780379508613, 1507164780379508614, 1507164780379508614, 'common', 'demo: table by region 2', '\x64656d6f3a207461626c6520627920726567696f6e2000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164780203347843/charts: bar chart 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780203347843/Charts: Bar chart 2', 1507164780203347843, 1507164780203347844, 1507164780203347844, 'common', 'charts: bar chart 2', '\x6368617274733a206261722063686172742000313132', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164780035575681/demo: avg sales', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164780035575681/Demo: Avg sales', 1507164780035575681, 1507164780035575682, 1507164780035575682, 'common', 'demo: avg sales', '\x64656d6f3a206176672073616c6573', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164779851026303/demo: map 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779851026303/Demo: Map 3', 1507164779851026303, 1507164779851026304, 1507164779851026304, 'common', 'demo: map 3', '\x64656d6f3a206d61702000313133', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164779666476925/charts: column chart 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779666476925/Charts: Column chart 2', 1507164779666476925, 1507164779666476926, 1507164779666476926, 'common', 'charts: column chart 2', '\x6368617274733a20636f6c756d6e2063686172742000313132', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164779490316155/lod: include and arg_max', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779490316155/LOD: INCLUDE and ARG_MAX', 1507164779490316155, 1507164779490316156, 1507164779490316156, 'common', 'lod: include and arg_max', '\x6c6f643a20696e636c75646520616e6420617267216d6178', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164779255435129/charts: indicator 1', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779255435129/Charts: Indicator 1', 1507164779255435129, 1507164779255435130, 1507164779255435130, 'common', 'charts: indicator 1', '\x6368617274733a20696e64696361746f722000313131', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164779020554103/chats: unstacked area chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164779020554103/Chats: Unstacked area chart', 1507164779020554103, 1507164779020554104, 1507164779020554104, 'common', 'chats: unstacked area chart', '\x63686174733a20756e737461636b65642061726561206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164778810838901/charts: pivot table', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778810838901/Charts: Pivot table', 1507164778810838901, 1507164778810838902, 1507164778810838902, 'common', 'charts: pivot table', '\x6368617274733a207069766f74207461626c65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164778617900916/charts: dual axis', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778617900916/Charts: Dual axis', 1507164778617900916, 1507164778617900915, 1507164778617900915, 'common', 'charts: dual axis', '\x6368617274733a206475616c2061786973', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164778198470513/maps: multiple layers', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778198470513/Maps: Multiple layers', 1507164778198470513, 1507164778198470514, 1507164778198470514, 'common', 'maps: multiple layers', '\x6d6170733a206d756c7469706c65206c6179657273', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164778013921135/charts: split by region', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164778013921135/Charts: Split by region', 1507164778013921135, 1507164778013921136, 1507164778013921136, 'common', 'charts: split by region', '\x6368617274733a2073706c697420627920726567696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164777820983149/charts: split', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777820983149/Charts: Split', 1507164777820983149, 1507164777820983150, 1507164777820983150, 'common', 'charts: split', '\x6368617274733a2073706c6974', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164777628045163/date functions: ago mom', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777628045163/Date functions: AGO MoM', 1507164777628045163, 1507164777628045164, 1507164777628045164, 'common', 'date functions: ago mom', '\x646174652066756e6374696f6e733a2061676f206d6f6d', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164777443495785/maps: heatmap', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777443495785/Maps: Heatmap', 1507164777443495785, 1507164777443495786, 1507164777443495786, 'common', 'maps: heatmap', '\x6d6170733a20686561746d6170', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164777258946408/date functions: lag', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777258946408/Date functions: LAG', 1507164777258946408, 1507164777250557799, 1507164777250557799, 'common', 'date functions: lag', '\x646174652066756e6374696f6e733a206c6167', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164777074397029/cohorts: data', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164777074397029/Cohorts: Data', 1507164777074397029, 1507164777082785638, 1507164777082785638, 'common', 'cohorts: data', '\x636f686f7274733a2064617461', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776889847651/demo: sales in time', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776889847651/Demo: Sales in time', 1507164776889847651, 1507164776889847652, 1507164776889847652, 'common', 'demo: sales in time', '\x64656d6f3a2073616c657320696e2074696d65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776705298273/formatting: text with line brakes', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776705298273/Formatting: Text with line brakes', 1507164776705298273, 1507164776705298274, 1507164776705298274, 'common', 'formatting: text with line brakes', '\x666f726d617474696e673a20746578742077697468206c696e65206272616b6573', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164776512360288/lod: include', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776512360288/LOD: INCLUDE', 1507164776512360288, 1507164776512360287, 1507164776512360287, 'common', 'lod: include', '\x6c6f643a20696e636c756465', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776327810910/hierarchy: bar chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776327810910/Hierarchy: Bar chart', 1507164776327810910, 1507164776327810909, 1507164776327810909, 'common', 'hierarchy: bar chart', '\x6869657261726368793a20626172206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164776151650139/charts: bar chart 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164776151650139/Charts: Bar chart 3', 1507164776151650139, 1507164776151650140, 1507164776151650140, 'common', 'charts: bar chart 3', '\x6368617274733a206261722063686172742000313133', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164775967100761/window functions: max for each year', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775967100761/Window functions: Max for each year', 1507164775967100761, 1507164775967100762, 1507164775967100762, 'common', 'window functions: max for each year', '\x77696e646f772066756e6374696f6e733a206d617820666f7220656163682079656172', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164775782551383/hierarchy: table', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775782551383/Hierarchy: Table', 1507164775782551383, 1507164775790939992, 1507164775790939992, 'common', 'hierarchy: table', '\x6869657261726368793a207461626c65', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164775564447573/map: polygons 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775564447573/Map: Polygons 2', 1507164775564447573, 1507164775572836182, 1507164775572836182, 'common', 'map: polygons 2', '\x6d61703a20706f6c79676f6e732000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164775379898195/selectors: sales by platform', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775379898195/Selectors: Sales by platform', 1507164775379898195, 1507164775388286804, 1507164775388286804, 'common', 'selectors: sales by platform', '\x73656c6563746f72733a2073616c657320627920706c6174666f726d', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164775002410831/charts: normalized area chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164775002410831/Charts: Normalized area chart', 1507164775002410831, 1507164775010799440, 1507164775010799440, 'common', 'charts: normalized area chart', '\x6368617274733a206e6f726d616c697a65642061726561206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164774750752590/window functions: percent of total 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164774750752590/Window functions: Percent of total 2', 1507164774750752590, 1507164774742363981, 1507164774742363981, 'common', 'window functions: percent of total 2', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c2000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164774415208267/charts: column chart 4', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164774415208267/Charts: Column chart 4', 1507164774415208267, 1507164774448762700, 1507164774448762700, 'common', 'charts: column chart 4', '\x6368617274733a20636f6c756d6e2063686172742000313134', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164774129995594/charts: combo reference line', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164774129995594/Charts: Combo reference line', 1507164774129995594, 1507164774129995593, 1507164774129995593, 'common', 'charts: combo reference line', '\x6368617274733a20636f6d626f207265666572656e6365206c696e65', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164773886725959/charts: indicator 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773886725959/Charts: Indicator 2', 1507164773886725959, 1507164773886725960, 1507164773886725960, 'common', 'charts: indicator 2', '\x6368617274733a20696e64696361746f722000313132', 'f', '{}', 1507164764046888724), -('widget', 'metric_wizard_node', '1507164773718953797/demo: clients 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773718953797/Demo: Clients 2', 1507164773718953797, 1507164773718953798, 1507164773718953798, 'common', 'demo: clients 2', '\x64656d6f3a20636c69656e74732000313132', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164773542793027/window functions: lag by dimension', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773542793027/Window functions: LAG by dimension', 1507164773542793027, 1507164773542793028, 1507164773542793028, 'common', 'window functions: lag by dimension', '\x77696e646f772066756e6374696f6e733a206c61672062792064696d656e73696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164773349855041/window functions: moving average 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773349855041/Window functions: Moving average 3', 1507164773349855041, 1507164773349855042, 1507164773349855042, 'common', 'window functions: moving average 3', '\x77696e646f772066756e6374696f6e733a206d6f76696e6720617665726167652000313133', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164773123362623/demo: platform share', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164773123362623/Demo: Platform share', 1507164773123362623, 1507164773123362624, 1507164773123362624, 'common', 'demo: platform share', '\x64656d6f3a20706c6174666f726d207368617265', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164772947201853/window functions: rank', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772947201853/Window functions: Rank', 1507164772947201853, 1507164772947201854, 1507164772947201854, 'common', 'window functions: rank', '\x77696e646f772066756e6374696f6e733a2072616e6b', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164772762652475/date functions: calendar table', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772762652475/Date functions: Calendar table', 1507164772762652475, 1507164772762652476, 1507164772762652476, 'common', 'date functions: calendar table', '\x646174652066756e6374696f6e733a2063616c656e646172207461626c65', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164772569714489/charts: donut chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772569714489/Charts: Donut chart', 1507164772569714489, 1507164772569714490, 1507164772569714490, 'common', 'charts: donut chart', '\x6368617274733a20646f6e7574206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164772267724599/charts: bar chart 5', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164772267724599/Charts: Bar chart 5', 1507164772267724599, 1507164772267724600, 1507164772267724600, 'common', 'charts: bar chart 5', '\x6368617274733a206261722063686172742000313135', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771974123317/charts: line chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771974123317/Charts: Line chart', 1507164771974123317, 1507164771974123318, 1507164771974123318, 'common', 'charts: line chart', '\x6368617274733a206c696e65206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771747630899/charts: bar chart 4', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771747630899/Charts: Bar chart 4', 1507164771747630899, 1507164771747630900, 1507164771747630900, 'common', 'charts: bar chart 4', '\x6368617274733a206261722063686172742000313134', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771294646065/date functions: simple dates', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771294646065/Date functions: simple dates', 1507164771294646065, 1507164771303034674, 1507164771303034674, 'common', 'date functions: simple dates', '\x646174652066756e6374696f6e733a2073696d706c65206461746573', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164771110096687/charts: normalized column chart 2', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164771110096687/Charts: Normalized column chart 2', 1507164771110096687, 1507164771118485296, 1507164771118485296, 'common', 'charts: normalized column chart 2', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e2063686172742000313132', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164770850049837/charts: normalized column chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770850049837/Charts: Normalized column chart', 1507164770850049837, 1507164770850049838, 1507164770850049838, 'common', 'charts: normalized column chart', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e206368617274', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164770648723243/parameters: scale', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770648723243/Parameters: Scale', 1507164770648723243, 1507164770648723244, 1507164770648723244, 'common', 'parameters: scale', '\x706172616d65746572733a207363616c65', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164770464173865/parameters: select dimension', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770464173865/Parameters: Select dimension', 1507164770464173865, 1507164770464173866, 1507164770464173866, 'common', 'parameters: select dimension', '\x706172616d65746572733a2073656c6563742064696d656e73696f6e', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164770254458663/charts: combo chart', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770254458663/Charts: Combo chart', 1507164770254458663, 1507164770254458664, 1507164770254458664, 'common', 'charts: combo chart', '\x6368617274733a20636f6d626f206368617274', 'f', '{}', 1507164764046888724), -('widget', 'table_wizard_node', '1507164770061520677/demo: table by categories', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164770061520677/Demo: Table by categories', 1507164770061520677, 1507164770061520678, 1507164770061520678, 'common', 'demo: table by categories', '\x64656d6f3a207461626c652062792063617465676f72696573', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164769633701665/window functions: moving average', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769633701665/Window functions: Moving average', 1507164769633701665, 1507164769633701666, 1507164769633701666, 'common', 'window functions: moving average', '\x77696e646f772066756e6374696f6e733a206d6f76696e672061766572616765', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164769407209247/charts: column chart 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769407209247/Charts: Column chart 3', 1507164769407209247, 1507164769407209248, 1507164769407209248, 'common', 'charts: column chart 3', '\x6368617274733a20636f6c756d6e2063686172742000313133', 'f', '{}', 1507164764046888724), -('widget', 'ymap_wizard_node', '1507164769197494045/maps: polygons 3', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164769197494045/Maps: Polygons 3', 1507164769197494045, 1507164769197494046, 1507164769197494046, 'common', 'maps: polygons 3', '\x6d6170733a20706f6c79676f6e732000313133', 'f', '{}', 1507164764046888724), -('widget', 'graph_wizard_node', '1507164768249581337/window functions: percent of total', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164768249581337/Window functions: Percent of total', 1507164768249581337, 1507164768249581338, 1507164768249581338, 'common', 'window functions: percent of total', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c', 'f', '{}', 1507164764046888724), -('dash', '', '1507164768509628187/datalens demo', NULL, 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'f', NULL, 'f', '1507164768509628187/DataLens Demo', 1507164768509628187, 1514651459633808403, 1514651459633808403, 'common', 'datalens demo', '\x646174616c656e732064656d6f', 'f', '{}', 1507164764046888724); +INSERT INTO public.entries (scope, type, key, inner_meta, created_by, created_at, updated_by, updated_at, is_deleted, deleted_at, hidden, display_key, entry_id, saved_id, published_id, tenant_id, name, sort_name, public, unversioned_data, workbook_id) VALUES + ('connection', 'ch_frozen_demo', '__trash/1507164766655745813_Demo Dashboard. Connection', '{"oldKey": "1507164766655745813/demo dashboard. connection", "oldDisplayKey": "1507164766655745813/Demo Dashboard. Connection"}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-14 13:28:38.641703+00', true, '2023-09-14 13:28:38.641703+00', false, '__trash/1507164766655745813_Demo Dashboard. Connection', 1507164766655745813, 1507164766655745814, NULL, 'common', '1507164766655745813_Demo Dashboard. Connection', '\x32313931353037313634373636363535373435383133002144656d6f2044617368626f6172642e20436f6e6e656374696f6e', false, '{"password": null}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507189203752980463/sales by regions', NULL, 'uid:systemId', '2023-09-11 09:35:54.179495+00', 'uid:systemId', '2023-09-11 09:35:54.273409+00', false, NULL, false, '1507189203752980463/Sales by regions', 1507189203752980463, 1507189203752980462, 1507189203752980462, 'common', 'sales by regions', '\x73616c657320627920726567696f6e73', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507171345740337126/scatter by regions', NULL, 'uid:systemId', '2023-09-11 09:00:25.337536+00', 'uid:systemId', '2023-09-11 09:00:25.532893+00', false, NULL, false, '1507171345740337126/Scatter by regions', 1507171345740337126, 1507172370811457514, 1507172370811457514, 'common', 'scatter by regions', '\x7363617474657220627920726567696f6e73', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164789036552159/demo: delivered, % in time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164789036552159/Demo: Delivered, % in time', 1507164789036552159, 1507164789036552160, 1507164789036552160, 'common', 'demo: delivered, % in time', '\x64656d6f3a2064656c6976657265642c202520696e2074696d65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164788860391390/demo: quantity', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788860391390/Demo: Quantity', 1507164788860391390, 1507164788860391389, 1507164788860391389, 'common', 'demo: quantity', '\x64656d6f3a207175616e74697479', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164788675842012/demo: delivered %', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788675842012/Demo: Delivered %', 1507164788675842012, 1507164788675842011, 1507164788675842011, 'common', 'demo: delivered %', '\x64656d6f3a2064656c6976657265642025', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164788449349594/charts: area chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788449349594/Charts: Area chart', 1507164788449349594, 1507164788449349593, 1507164788449349593, 'common', 'charts: area chart', '\x6368617274733a2061726561206368617274', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164788273188823/maps: polygons', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788273188823/Maps: Polygons', 1507164788273188823, 1507164788273188824, 1507164788273188824, 'common', 'maps: polygons', '\x6d6170733a20706f6c79676f6e73', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164788097028053/cohorts: basic', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164788097028053/Cohorts: Basic', 1507164788097028053, 1507164788097028054, 1507164788097028054, 'common', 'cohorts: basic', '\x636f686f7274733a206261736963', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164787895701460/formating: url and table formating', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787895701460/Formating: URL and table formating', 1507164787895701460, 1507164787895701459, 1507164787895701459, 'common', 'formating: url and table formating', '\x666f726d6174696e673a2075726c20616e64207461626c6520666f726d6174696e67', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164787719540690/parameters: scale and ago', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787719540690/Parameters: Scale and AGO', 1507164787719540690, 1507164787719540689, 1507164787719540689, 'common', 'parameters: scale and ago', '\x706172616d65746572733a207363616c6520616e642061676f', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164787534991312/charts: table with bars', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787534991312/Charts: Table with bars', 1507164787534991312, 1507164787534991311, 1507164787534991311, 'common', 'charts: table with bars', '\x6368617274733a207461626c6520776974682062617273', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164787358830542/charts: treemap', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787358830542/Charts: Treemap', 1507164787358830542, 1507164787358830541, 1507164787358830541, 'common', 'charts: treemap', '\x6368617274733a20747265656d6170', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164787174281163/charts: comb plan and fact', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164787174281163/Charts: Comb Plan and Fact', 1507164787174281163, 1507164787174281164, 1507164787174281164, 'common', 'charts: comb plan and fact', '\x6368617274733a20636f6d6220706c616e20616e642066616374', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164786998120393/window functions: last label', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786998120393/Window functions: Last label', 1507164786998120393, 1507164786998120394, 1507164786998120394, 'common', 'window functions: last label', '\x77696e646f772066756e6374696f6e733a206c617374206c6162656c', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164786805182407/demo: map 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786805182407/Demo: Map 2', 1507164786805182407, 1507164786805182408, 1507164786805182408, 'common', 'demo: map 2', '\x64656d6f3a206d61702000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164786629021638/date functions: datetrunc', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786629021638/Date functions: Datetrunc', 1507164786629021638, 1507164786629021637, 1507164786629021637, 'common', 'date functions: datetrunc', '\x646174652066756e6374696f6e733a20646174657472756e63', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164786444472259/charts: column chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786444472259/Charts: Column chart', 1507164786444472259, 1507164786444472260, 1507164786444472260, 'common', 'charts: column chart', '\x6368617274733a20636f6c756d6e206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164786217979841/charts: scatterplot', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786217979841/Charts: Scatterplot', 1507164786217979841, 1507164786217979842, 1507164786217979842, 'common', 'charts: scatterplot', '\x6368617274733a2073636174746572706c6f74', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164775186960209/maps: points', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775186960209/Maps: Points', 1507164775186960209, 1507164775186960210, 1507164775186960210, 'common', 'maps: points', '\x6d6170733a20706f696e7473', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164786041819072/date functions: ago 1m', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164786041819072/Date functions: AGO 1M', 1507164786041819072, 1507164786041819071, 1507164786041819071, 'common', 'date functions: ago 1m', '\x646174652066756e6374696f6e733a2061676f2000313131006d', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164785857269694/charts: table simple', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785857269694/Charts: Table simple', 1507164785857269694, 1507164785857269693, 1507164785857269693, 'common', 'charts: table simple', '\x6368617274733a207461626c652073696d706c65', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164785655943099/cohorts: abs and retention', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785655943099/Cohorts: Abs and Retention', 1507164785655943099, 1507164785655943100, 1507164785655943100, 'common', 'cohorts: abs and retention', '\x636f686f7274733a2061627320616e6420726574656e74696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164785421062073/charts: pie chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785421062073/Charts: Pie chart', 1507164785421062073, 1507164785421062074, 1507164785421062074, 'common', 'charts: pie chart', '\x6368617274733a20706965206368617274', false, '{}', 1507164764046888724), + ('dataset', '', '1507164769826639651/orders', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769826639651/Orders', 1507164769826639651, 1560944685353010180, 1560944685353010180, 'common', 'orders', '\x6f7264657273', false, '{}', 1507164764046888724), + ('dataset', '', '1507164767695933207/cohorts', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164767695933207/Cohorts', 1507164767695933207, 1560944981118551046, 1560944981118551046, 'common', 'cohorts', '\x636f686f727473', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164785236512696/charts: normalized bar chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785236512696/Charts: Normalized bar chart', 1507164785236512696, 1507164785236512695, 1507164785236512695, 'common', 'charts: normalized bar chart', '\x6368617274733a206e6f726d616c697a656420626172206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164785051963318/demo: top products', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164785051963318/Demo: Top products', 1507164785051963318, 1507164785051963317, 1507164785051963317, 'common', 'demo: top products', '\x64656d6f3a20746f702070726f6475637473', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164784867413939/window functions: before filter by', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784867413939/Window functions: Before Filter By', 1507164784867413939, 1507164784867413940, 1507164784867413940, 'common', 'window functions: before filter by', '\x77696e646f772066756e6374696f6e733a206265666f72652066696c746572206279', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164784691253169/demo: clients', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784691253169/Demo: Clients', 1507164784691253169, 1507164784691253170, 1507164784691253170, 'common', 'demo: clients', '\x64656d6f3a20636c69656e7473', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164784498315184/demo: avg shipping time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784498315184/Demo: Avg shipping time', 1507164784498315184, 1507164784498315183, 1507164784498315183, 'common', 'demo: avg shipping time', '\x64656d6f3a20617667207368697070696e672074696d65', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164784322154413/maps: clusters', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784322154413/Maps: Clusters', 1507164784322154413, 1507164784322154414, 1507164784322154414, 'common', 'maps: clusters', '\x6d6170733a20636c757374657273', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164784137605036/date functions: datepart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164784137605036/Date functions: Datepart', 1507164784137605036, 1507164784137605035, 1507164784137605035, 'common', 'date functions: datepart', '\x646174652066756e6374696f6e733a206461746570617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164783944667049/window functions: nested window functions', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783944667049/Window functions: Nested window functions', 1507164783944667049, 1507164783944667050, 1507164783944667050, 'common', 'window functions: nested window functions', '\x77696e646f772066756e6374696f6e733a206e65737465642077696e646f772066756e6374696f6e73', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164783760117671/window functions: top 3 each category', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783760117671/Window functions: Top 3 each category', 1507164783760117671, 1507164783760117672, 1507164783760117672, 'common', 'window functions: top 3 each category', '\x77696e646f772066756e6374696f6e733a20746f7020003131330020656163682063617465676f7279', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164783558791078/charts: combo with average', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783558791078/Charts: Combo with average', 1507164783558791078, 1507164783558791077, 1507164783558791077, 'common', 'charts: combo with average', '\x6368617274733a20636f6d626f20776974682061766572616765', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164783357464484/demo: table by regions', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783357464484/Demo: Table by regions', 1507164783357464484, 1507164783357464483, 1507164783357464483, 'common', 'demo: table by regions', '\x64656d6f3a207461626c6520627920726567696f6e73', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164783164526497/formating: bars with emoji', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164783164526497/Formating: Bars with emoji', 1507164783164526497, 1507164783164526498, 1507164783164526498, 'common', 'formating: bars with emoji', '\x666f726d6174696e673a2062617273207769746820656d6f6a69', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164782971588511/demo: shipping time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782971588511/Demo: Shipping time', 1507164782971588511, 1507164782979977120, 1507164782979977120, 'common', 'demo: shipping time', '\x64656d6f3a207368697070696e672074696d65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164782770261917/hierarchy: date drill down', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782770261917/Hierarchy: Date drill down', 1507164782770261917, 1507164782770261918, 1507164782770261918, 'common', 'hierarchy: date drill down', '\x6869657261726368793a2064617465206472696c6c20646f776e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164782493437851/demo: platforms in time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782493437851/Demo: Platforms in time', 1507164782493437851, 1507164782493437852, 1507164782493437852, 'common', 'demo: platforms in time', '\x64656d6f3a20706c6174666f726d7320696e2074696d65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164782317277082/demo: sales', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782317277082/Demo: Sales', 1507164782317277082, 1507164782317277081, 1507164782317277081, 'common', 'demo: sales', '\x64656d6f3a2073616c6573', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164782074007448/parameters: scale full period', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164782074007448/Parameters: Scale full period', 1507164782074007448, 1507164782074007447, 1507164782074007447, 'common', 'parameters: scale full period', '\x706172616d65746572733a207363616c652066756c6c20706572696f64', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164781855903637/charts: bar chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781855903637/Charts: Bar chart', 1507164781855903637, 1507164781855903638, 1507164781855903638, 'common', 'charts: bar chart', '\x6368617274733a20626172206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164781662965651/lod: fixed', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781662965651/LOD: FIXED', 1507164781662965651, 1507164781662965652, 1507164781662965652, 'common', 'lod: fixed', '\x6c6f643a206669786564', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164781478416273/date functions: navigator', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781478416273/Date functions: Navigator', 1507164781478416273, 1507164781478416274, 1507164781478416274, 'common', 'date functions: navigator', '\x646174652066756e6374696f6e733a206e6176696761746f72', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164781302255504/cohorts: abs values', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781302255504/Cohorts: Abs values', 1507164781302255504, 1507164781302255503, 1507164781302255503, 'common', 'cohorts: abs values', '\x636f686f7274733a206162732076616c756573', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164781126094733/window functions: running sum', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164781126094733/Window functions: Running sum', 1507164781126094733, 1507164781126094734, 1507164781126094734, 'common', 'window functions: running sum', '\x77696e646f772066756e6374696f6e733a2072756e6e696e672073756d', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780933156747/hierarchy: pie chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780933156747/Hierarchy: Pie chart', 1507164780933156747, 1507164780933156748, 1507164780933156748, 'common', 'hierarchy: pie chart', '\x6869657261726368793a20706965206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780748607369/hierarchy: line chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780748607369/Hierarchy: Line chart', 1507164780748607369, 1507164780748607370, 1507164780748607370, 'common', 'hierarchy: line chart', '\x6869657261726368793a206c696e65206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780564057991/parameters: currency calculator', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780564057991/Parameters: Currency calculator', 1507164780564057991, 1507164780564057992, 1507164780564057992, 'common', 'parameters: currency calculator', '\x706172616d65746572733a2063757272656e63792063616c63756c61746f72', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164780379508613/demo: table by region 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780379508613/Demo: Table by Region 2', 1507164780379508613, 1507164780379508614, 1507164780379508614, 'common', 'demo: table by region 2', '\x64656d6f3a207461626c6520627920726567696f6e2000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164780203347843/charts: bar chart 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780203347843/Charts: Bar chart 2', 1507164780203347843, 1507164780203347844, 1507164780203347844, 'common', 'charts: bar chart 2', '\x6368617274733a206261722063686172742000313132', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164780035575681/demo: avg sales', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164780035575681/Demo: Avg sales', 1507164780035575681, 1507164780035575682, 1507164780035575682, 'common', 'demo: avg sales', '\x64656d6f3a206176672073616c6573', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164779851026303/demo: map 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779851026303/Demo: Map 3', 1507164779851026303, 1507164779851026304, 1507164779851026304, 'common', 'demo: map 3', '\x64656d6f3a206d61702000313133', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164779666476925/charts: column chart 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779666476925/Charts: Column chart 2', 1507164779666476925, 1507164779666476926, 1507164779666476926, 'common', 'charts: column chart 2', '\x6368617274733a20636f6c756d6e2063686172742000313132', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164779490316155/lod: include and arg_max', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779490316155/LOD: INCLUDE and ARG_MAX', 1507164779490316155, 1507164779490316156, 1507164779490316156, 'common', 'lod: include and arg_max', '\x6c6f643a20696e636c75646520616e6420617267216d6178', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164779255435129/charts: indicator 1', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779255435129/Charts: Indicator 1', 1507164779255435129, 1507164779255435130, 1507164779255435130, 'common', 'charts: indicator 1', '\x6368617274733a20696e64696361746f722000313131', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164779020554103/chats: unstacked area chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164779020554103/Chats: Unstacked area chart', 1507164779020554103, 1507164779020554104, 1507164779020554104, 'common', 'chats: unstacked area chart', '\x63686174733a20756e737461636b65642061726561206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164778810838901/charts: pivot table', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778810838901/Charts: Pivot table', 1507164778810838901, 1507164778810838902, 1507164778810838902, 'common', 'charts: pivot table', '\x6368617274733a207069766f74207461626c65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164778617900916/charts: dual axis', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778617900916/Charts: Dual axis', 1507164778617900916, 1507164778617900915, 1507164778617900915, 'common', 'charts: dual axis', '\x6368617274733a206475616c2061786973', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164778198470513/maps: multiple layers', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778198470513/Maps: Multiple layers', 1507164778198470513, 1507164778198470514, 1507164778198470514, 'common', 'maps: multiple layers', '\x6d6170733a206d756c7469706c65206c6179657273', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164778013921135/charts: split by region', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164778013921135/Charts: Split by region', 1507164778013921135, 1507164778013921136, 1507164778013921136, 'common', 'charts: split by region', '\x6368617274733a2073706c697420627920726567696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164777820983149/charts: split', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777820983149/Charts: Split', 1507164777820983149, 1507164777820983150, 1507164777820983150, 'common', 'charts: split', '\x6368617274733a2073706c6974', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164777628045163/date functions: ago mom', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777628045163/Date functions: AGO MoM', 1507164777628045163, 1507164777628045164, 1507164777628045164, 'common', 'date functions: ago mom', '\x646174652066756e6374696f6e733a2061676f206d6f6d', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164777443495785/maps: heatmap', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777443495785/Maps: Heatmap', 1507164777443495785, 1507164777443495786, 1507164777443495786, 'common', 'maps: heatmap', '\x6d6170733a20686561746d6170', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164777258946408/date functions: lag', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777258946408/Date functions: LAG', 1507164777258946408, 1507164777250557799, 1507164777250557799, 'common', 'date functions: lag', '\x646174652066756e6374696f6e733a206c6167', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164777074397029/cohorts: data', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164777074397029/Cohorts: Data', 1507164777074397029, 1507164777082785638, 1507164777082785638, 'common', 'cohorts: data', '\x636f686f7274733a2064617461', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776889847651/demo: sales in time', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776889847651/Demo: Sales in time', 1507164776889847651, 1507164776889847652, 1507164776889847652, 'common', 'demo: sales in time', '\x64656d6f3a2073616c657320696e2074696d65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776705298273/formatting: text with line brakes', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776705298273/Formatting: Text with line brakes', 1507164776705298273, 1507164776705298274, 1507164776705298274, 'common', 'formatting: text with line brakes', '\x666f726d617474696e673a20746578742077697468206c696e65206272616b6573', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164776512360288/lod: include', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776512360288/LOD: INCLUDE', 1507164776512360288, 1507164776512360287, 1507164776512360287, 'common', 'lod: include', '\x6c6f643a20696e636c756465', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776327810910/hierarchy: bar chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776327810910/Hierarchy: Bar chart', 1507164776327810910, 1507164776327810909, 1507164776327810909, 'common', 'hierarchy: bar chart', '\x6869657261726368793a20626172206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164776151650139/charts: bar chart 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164776151650139/Charts: Bar chart 3', 1507164776151650139, 1507164776151650140, 1507164776151650140, 'common', 'charts: bar chart 3', '\x6368617274733a206261722063686172742000313133', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164775967100761/window functions: max for each year', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775967100761/Window functions: Max for each year', 1507164775967100761, 1507164775967100762, 1507164775967100762, 'common', 'window functions: max for each year', '\x77696e646f772066756e6374696f6e733a206d617820666f7220656163682079656172', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164775782551383/hierarchy: table', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775782551383/Hierarchy: Table', 1507164775782551383, 1507164775790939992, 1507164775790939992, 'common', 'hierarchy: table', '\x6869657261726368793a207461626c65', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164775564447573/map: polygons 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775564447573/Map: Polygons 2', 1507164775564447573, 1507164775572836182, 1507164775572836182, 'common', 'map: polygons 2', '\x6d61703a20706f6c79676f6e732000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164775379898195/selectors: sales by platform', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775379898195/Selectors: Sales by platform', 1507164775379898195, 1507164775388286804, 1507164775388286804, 'common', 'selectors: sales by platform', '\x73656c6563746f72733a2073616c657320627920706c6174666f726d', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164775002410831/charts: normalized area chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164775002410831/Charts: Normalized area chart', 1507164775002410831, 1507164775010799440, 1507164775010799440, 'common', 'charts: normalized area chart', '\x6368617274733a206e6f726d616c697a65642061726561206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164774750752590/window functions: percent of total 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164774750752590/Window functions: Percent of total 2', 1507164774750752590, 1507164774742363981, 1507164774742363981, 'common', 'window functions: percent of total 2', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c2000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164774415208267/charts: column chart 4', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164774415208267/Charts: Column chart 4', 1507164774415208267, 1507164774448762700, 1507164774448762700, 'common', 'charts: column chart 4', '\x6368617274733a20636f6c756d6e2063686172742000313134', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164774129995594/charts: combo reference line', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164774129995594/Charts: Combo reference line', 1507164774129995594, 1507164774129995593, 1507164774129995593, 'common', 'charts: combo reference line', '\x6368617274733a20636f6d626f207265666572656e6365206c696e65', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164773886725959/charts: indicator 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773886725959/Charts: Indicator 2', 1507164773886725959, 1507164773886725960, 1507164773886725960, 'common', 'charts: indicator 2', '\x6368617274733a20696e64696361746f722000313132', false, '{}', 1507164764046888724), + ('widget', 'metric_wizard_node', '1507164773718953797/demo: clients 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773718953797/Demo: Clients 2', 1507164773718953797, 1507164773718953798, 1507164773718953798, 'common', 'demo: clients 2', '\x64656d6f3a20636c69656e74732000313132', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164773542793027/window functions: lag by dimension', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773542793027/Window functions: LAG by dimension', 1507164773542793027, 1507164773542793028, 1507164773542793028, 'common', 'window functions: lag by dimension', '\x77696e646f772066756e6374696f6e733a206c61672062792064696d656e73696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164773349855041/window functions: moving average 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773349855041/Window functions: Moving average 3', 1507164773349855041, 1507164773349855042, 1507164773349855042, 'common', 'window functions: moving average 3', '\x77696e646f772066756e6374696f6e733a206d6f76696e6720617665726167652000313133', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164773123362623/demo: platform share', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164773123362623/Demo: Platform share', 1507164773123362623, 1507164773123362624, 1507164773123362624, 'common', 'demo: platform share', '\x64656d6f3a20706c6174666f726d207368617265', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164772947201853/window functions: rank', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772947201853/Window functions: Rank', 1507164772947201853, 1507164772947201854, 1507164772947201854, 'common', 'window functions: rank', '\x77696e646f772066756e6374696f6e733a2072616e6b', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164772762652475/date functions: calendar table', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772762652475/Date functions: Calendar table', 1507164772762652475, 1507164772762652476, 1507164772762652476, 'common', 'date functions: calendar table', '\x646174652066756e6374696f6e733a2063616c656e646172207461626c65', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164772569714489/charts: donut chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772569714489/Charts: Donut chart', 1507164772569714489, 1507164772569714490, 1507164772569714490, 'common', 'charts: donut chart', '\x6368617274733a20646f6e7574206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164772267724599/charts: bar chart 5', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164772267724599/Charts: Bar chart 5', 1507164772267724599, 1507164772267724600, 1507164772267724600, 'common', 'charts: bar chart 5', '\x6368617274733a206261722063686172742000313135', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771974123317/charts: line chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771974123317/Charts: Line chart', 1507164771974123317, 1507164771974123318, 1507164771974123318, 'common', 'charts: line chart', '\x6368617274733a206c696e65206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771747630899/charts: bar chart 4', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771747630899/Charts: Bar chart 4', 1507164771747630899, 1507164771747630900, 1507164771747630900, 'common', 'charts: bar chart 4', '\x6368617274733a206261722063686172742000313134', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771294646065/date functions: simple dates', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771294646065/Date functions: simple dates', 1507164771294646065, 1507164771303034674, 1507164771303034674, 'common', 'date functions: simple dates', '\x646174652066756e6374696f6e733a2073696d706c65206461746573', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164771110096687/charts: normalized column chart 2', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164771110096687/Charts: Normalized column chart 2', 1507164771110096687, 1507164771118485296, 1507164771118485296, 'common', 'charts: normalized column chart 2', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e2063686172742000313132', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164770850049837/charts: normalized column chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770850049837/Charts: Normalized column chart', 1507164770850049837, 1507164770850049838, 1507164770850049838, 'common', 'charts: normalized column chart', '\x6368617274733a206e6f726d616c697a656420636f6c756d6e206368617274', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164770648723243/parameters: scale', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770648723243/Parameters: Scale', 1507164770648723243, 1507164770648723244, 1507164770648723244, 'common', 'parameters: scale', '\x706172616d65746572733a207363616c65', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164770464173865/parameters: select dimension', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770464173865/Parameters: Select dimension', 1507164770464173865, 1507164770464173866, 1507164770464173866, 'common', 'parameters: select dimension', '\x706172616d65746572733a2073656c6563742064696d656e73696f6e', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164770254458663/charts: combo chart', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770254458663/Charts: Combo chart', 1507164770254458663, 1507164770254458664, 1507164770254458664, 'common', 'charts: combo chart', '\x6368617274733a20636f6d626f206368617274', false, '{}', 1507164764046888724), + ('widget', 'table_wizard_node', '1507164770061520677/demo: table by categories', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164770061520677/Demo: Table by categories', 1507164770061520677, 1507164770061520678, 1507164770061520678, 'common', 'demo: table by categories', '\x64656d6f3a207461626c652062792063617465676f72696573', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164769633701665/window functions: moving average', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769633701665/Window functions: Moving average', 1507164769633701665, 1507164769633701666, 1507164769633701666, 'common', 'window functions: moving average', '\x77696e646f772066756e6374696f6e733a206d6f76696e672061766572616765', false, '{}', 1507164764046888724); +INSERT INTO public.entries (scope, type, key, inner_meta, created_by, created_at, updated_by, updated_at, is_deleted, deleted_at, hidden, display_key, entry_id, saved_id, published_id, tenant_id, name, sort_name, public, unversioned_data, workbook_id) VALUES + ('widget', 'graph_wizard_node', '1507164769407209247/charts: column chart 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769407209247/Charts: Column chart 3', 1507164769407209247, 1507164769407209248, 1507164769407209248, 'common', 'charts: column chart 3', '\x6368617274733a20636f6c756d6e2063686172742000313133', false, '{}', 1507164764046888724), + ('widget', 'ymap_wizard_node', '1507164769197494045/maps: polygons 3', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164769197494045/Maps: Polygons 3', 1507164769197494045, 1507164769197494046, 1507164769197494046, 'common', 'maps: polygons 3', '\x6d6170733a20706f6c79676f6e732000313133', false, '{}', 1507164764046888724), + ('widget', 'graph_wizard_node', '1507164768249581337/window functions: percent of total', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164768249581337/Window functions: Percent of total', 1507164768249581337, 1507164768249581338, 1507164768249581338, 'common', 'window functions: percent of total', '\x77696e646f772066756e6374696f6e733a2070657263656e74206f6620746f74616c', false, '{}', 1507164764046888724), + ('connection', 'postgres', '1560944148196885505/pg', NULL, 'uid:systemId', '2023-11-24 13:37:22.834126+00', 'uid:systemId', '2023-11-24 13:37:22.834126+00', false, NULL, false, '1560944148196885505/pg', 1560944148196885505, 1560944148247217154, NULL, 'common', 'pg', '\x7067', false, '{"password": {"key_id": "key_1", "key_kind": "local_fernet", "cypher_text": "gAAAAABlYKcSyKMOPC8rbMJeHw9_fY3e1fKkAgyRy3fCbZNlF19za2W2L2v1ufD2VmBWEO7d5ZMSG_0D3dvW9Xtv07xif3gAYA=="}}', 1507164764046888724), + ('connection', 'clickhouse', '__trash/1510137996244943888_ch', '{"oldKey": "1510137996244943888/ch", "oldDisplayKey": "1510137996244943888/ch"}', 'uid:systemId', '2023-09-15 11:14:37.634851+00', 'uid:systemId', '2023-11-24 13:49:34.41277+00', true, '2023-11-24 13:49:34.41277+00', false, '__trash/1510137996244943888_ch', 1510137996244943888, 1510137996244943889, NULL, 'common', '1510137996244943888_ch', '\x3231393135313031333739393632343439343338383800216368', false, '{"password": {"key_id": "key_1", "key_kind": "local_fernet", "cypher_text": "gAAAAABlBDyd2TBjo-SSK6lIPcnZANo28Krs9jcsY0angf0kY1hgApa3NKrDuhBINq9-OnBVTmGWAJNhMG_nABOJ70rZARxUN0Py8-zAVdtFTjEdi11tltM="}}', 1507164764046888724), + ('dash', '', '1507164768509628187/datalens demo', NULL, 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', false, NULL, false, '1507164768509628187/DataLens Demo', 1507164768509628187, 1560950133770683411, 1560950133770683411, 'common', 'datalens demo', '\x646174616c656e732064656d6f', false, '{}', 1507164764046888724); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"host": null, "name": null, "port": null, "secure": false, "db_name": null, "enabled": true, "endpoint": "", "username": null, "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "off", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null}', '{"state": "saved", "version": 11, "mdb_folder_id": null, "version_minor": 0, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164766655745814, 1507164766655745813, '{}'), -('{"host": "rc1a-dcvk9cgrhmu889sj.mdb.yandexcloud.net,rc1b-lk2m3n43pststo6d.mdb.yandexcloud.net", "name": null, "port": 8443, "secure": true, "ssl_ca": null, "db_name": null, "endpoint": "", "username": "opensource-demo", "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "dashsql", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null, "data_export_forbidden": false}', '{"state": "saved", "mdb_folder_id": null, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-15 14:14:37.634851+03', 'uid:systemId', '2023-09-15 14:14:37.634851+03', 1510137996244943889, 1510137996244943888, '{}'), -('{"rls": [], "name": "", "revision_id": "AgjoqxYbcbZZjnepVtH8g2", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "Custom SQL", "valid": true, "is_root": true, "source_id": "56eb3842-5302-11ee-85f5-aba80832f682", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "56eb3842-5302-11ee-85f5-aba80832f682", "type": "collection", "title": "Custom SQL", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\t\"opensource-demo\".orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\nFROM \"opensource-demo\".orders \n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_SUBSELECT", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 16:26:51.433399+03', 'uid:systemId', '2023-09-14 16:26:51.433399+03', 1509479774060283664, 1507164767695933207, '{"56eb3842-5302-11ee-85f5-aba80832f682": "rxhvo6ms2xj0g"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"Delivery date and time (+6)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"genericdatetime\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"genericdatetime\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"genericdatetime\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Delivery date and time (+6)\",\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"DATEADD([Delivery date and time],\\\"hour\\\",6)\",\n \"guid_formula\": \"DATEADD([cddd9cad-52a2-4232-8898-ade9a972c864],\\\"hour\\\",6)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY HH:mm:ss\",\n \"grouping\": \"part-hour\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"fakeTitle\": \"Delivery date and time (+5)\",\n \"quickFormula\": true,\n \"originalDateCast\": \"genericdatetime\",\n \"originalTitle\": \"Delivery date and time (+5)\",\n \"originalFormula\": \"DATEADD([Delivery date and time],\\\"hour\\\",5)\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784137605035, 1507164784137605036, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Product category 1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"RANK by categories\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK_DENSE(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"RANK_DENSE(SUM([Sales] within [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783944667050, 1507164783944667049, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"rls": [], "name": "", "access_mode": "direct", "revision_id": "NieMhem5pPgwfFxJLwagqu", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "SQL for cohorts", "valid": true, "is_root": true, "source_id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "type": "collection", "title": "SQL for cohorts", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SUBSELECT", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164767695933208, 1507164767695933207, '{"c221e501-14c8-11ee-8d76-3b5eb2be9b3d": "otliowpa3lyad"}'), -('{"rls": [], "name": null, "revision_id": "Smy7MRw3maESYh5wt5zPs9", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time] - [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "opensource-demo.orders", "valid": true, "is_root": true, "source_id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "opensource-demo.managers", "valid": true, "is_root": false, "source_id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "Europe/Moscow", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 15:58:32.319205+03', 'uid:systemId', '2023-09-14 15:58:32.319205+03', 1509465520934487792, 1507164769826639651, '{"21fa32c0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g", "2744dfa0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g"}'), -('{"rls": [], "name": null, "access_mode": "direct", "revision_id": "YDvez9RKaz46M7nSijxWxk", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time]- [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "samples.orders", "valid": true, "is_root": true, "source_id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "samples.managers", "valid": true, "is_root": false, "source_id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status", "c81b1fa0-e207-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "UTC", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769826639652, 1507164769826639651, '{"ec61a120-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad", "ee06ecb0-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"id\": \"visArea\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"date\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"data_type\": \"date\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 12:35:54.179495+03', 'uid:systemId', '2023-09-11 12:35:54.179495+03', 1507189203752980462, 1507189203752980463, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 6,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Sales RANK WITHIN\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales RANK WITHIN\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"pixel\",\n \"value\": \"260\"\n }\n }\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783760117672, 1507164783760117671, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"План - константа\": \"ShortDashDotDot\",\n \"Среднее по категориям\": \"LongDashDotDot\",\n \"Avg by region\": \"Dash\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by region\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Avg by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783558791077, 1507164783558791078, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Population sort\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Population group\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_population_group\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_population_group\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"avg\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {},\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"d4e27a70-5235-11ed-ad0a-1d6fc3f8c49f\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783357464483, 1507164783357464484, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"title-b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Label\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"string\",\n \"type\": \"MEASURE\",\n \"title\": \"Label\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_2\",\n \"guid\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-38\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164783164526498, 1507164783164526497, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#FFB46C\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"avg\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \" day\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782979977120, 1507164782971588511, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782770261918, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"string\",\n \"title\": \"Platform\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"ANDROID\": \"6\",\n \"DESKTOP\": \"3\",\n \"IOS\": \"2\",\n \"MOBILE_BROWSER\": \"14\",\n \"UNKNOWN\": \"15\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782493437852, 1507164782493437851, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782317277081, 1507164782317277082, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"source\": \"ProductCategory\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"title\": \"Дата через параметр\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"title\": \"Число магазинов\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Месяц заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Год заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Доставка - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"ID заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"ID клиента\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Число клиентов\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Дата и время заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Дата заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Дата и время доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Дата доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"title\": \"Скидка, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Среднее число продуктов в заказе\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Доставка - тип\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Тип оплаты\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"Клиент\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"title\": \"Клиент - пол\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Клиент - статус\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"title\": \"Клиент- дата рождения\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Продукт - категория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Продукт - подкатегория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Продукт - бренд\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Продукт\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"title\": \"Магазин - адрес\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"title\": \"Магазин - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"title\": \"Магазин - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"title\": \"Доставка - округ\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"title\": \"Доставка - округ (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"title\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"true\"\n ],\n \"operation\": {\n \"code\": \"EQ\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"boolean\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"boolean\",\n \"type\": \"DIMENSION\",\n \"cast\": \"boolean\",\n \"formula\": \"[Дата заявки] < DATETRUNC((TODAY() -1), [scale])\",\n \"guid_formula\": \"[3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] < DATETRUNC((TODAY() -1), [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Продажи\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"Price\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Продажи\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164782074007447, 1507164782074007448, NULL), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 12:02:27.545481+03', 'uid:systemId', '2023-09-11 12:02:27.545481+03', 1507172370811457514, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422579735\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422570832\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422554154\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"discrete\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422568249\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 12:00:25.337536+03', 'uid:systemId', '2023-09-11 12:00:25.337536+03', 1507171345740337127, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"New chart\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order date (scale)\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164789036552160, 1507164789036552159, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"k\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788860391389, 1507164788860391390, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"% Delivered\": \"5\",\n \"Delivered, %\": \"5\"\n },\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788675842011, 1507164788675842012, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788449349593, 1507164788449349594, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"geopolygon\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788273188824, 1507164788273188823, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164788097028054, 1507164788097028053, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Avg among category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"category_name_level_3 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"title\": \"Product Link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 15,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Smart speakers\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product Link\",\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3 (1)\",\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category 3\",\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg among category\",\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"AVG([Sales] FIXED [Category 3])\",\n \"guid_formula\": \"AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] FIXED [56135840-543d-11ed-8cd5-1d5809ea917a])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Diff to avg\",\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Quantity label\",\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"description\": \"\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"initial_data_type\": \"markup\",\n \"has_auto_aggregation\": false,\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"data_type\": \"markup\",\n \"title\": \"Product Link\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-6\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search?q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"markup\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"markup\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-46\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"eab840d0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Central\": \"18\",\n \"Jaffa\": \"19\",\n \"North\": \"5\",\n \"South\": \"11\"\n }\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"order_buyer_region_name\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-32\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#CCCC\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"fa1ed1b0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787895701459, 1507164787895701460, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales AGO\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Order date (scale)\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"valid\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"cast\": \"float\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787719540689, 1507164787719540690, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"title\": \"Diff to average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0e352060-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"11a519d0-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"19bf8880-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n },\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787534991311, 1507164787534991312, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 2,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"treemap\",\n \"type\": \"treemap\",\n \"name\": \"label_visualization-treemap\",\n \"allowFilters\": true,\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_dimensions\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521882125\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787358830541, 1507164787358830542, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"title\": \"Plan diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan diff\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee]-[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b])/[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b]\",\n \"formula\": \"([Sales]-[Plan])/[Plan]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164787174281164, 1507164787174281163, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Label last\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Label last\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Label last\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786998120394, 1507164786998120393, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"title\": \"Point\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"title\": \"Delivered, % by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, % by region\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"097880a0-5398-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614882676\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Delivered, % by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Clusters\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786805182408, 1507164786805182407, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"local\": true,\n \"fakeTitle\": \"Delivery date\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"order_delivery_datetime\",\n \"originalTitle\": \"Delivery date\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786629021637, 1507164786629021638, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786444472260, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": true,\n \"virtual\": false,\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation\": \"none\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786217979842, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 50,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2e35bfc0-53d4-11ed-9996-050410c36b7c\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"fakeTitle\": \"AGO 1m\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164786041819071, 1507164786041819072, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Product category 2\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"order_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"user_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785857269693, 1507164785857269694, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"colormap.retention\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-1\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"yellow-green-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.abs\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention.precalc\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"title\": \"abs-retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"colormap.retention.precalc\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\t(round([COUNTS])), \\r\\n\\t(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\t(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\t(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d])))\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.abs\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.retention\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"FirstOrder_Month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"30d\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"SQL Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"SQL Когорты\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"First Order\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"cast\": \"string\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-4\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785655943100, 1507164785655943099, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"title\": \"Подкатегория продукта - сумма\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Orders\",\n \"source\": \"order_id\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Подкатегория продукта - сумма\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"ProductSubcategory\",\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pie\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-pie\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785421062074, 1507164785421062073, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517989240\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517984518\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"bar\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785236512695, 1507164785236512696, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"title\": \"Product link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 8,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"title\": \"Product link\",\n \"data_type\": \"markup\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"markup\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"markup\",\n \"title\": \"Product link\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"formula\": \"URL(\\\"https://www.google.com/search?q=\\\" + [Product name], [Product name])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Product | 🔗 Click to go to dashboard by product\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"ead4b4f0-523b-11ed-bcb4-57270be790f2\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {}\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\"\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164785051963317, 1507164785051963318, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"category_name_level_1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"category_name_level_1\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-36\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"category_name_level_1\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Auto\",\n \"Cottage and garden\",\n \"Equipment\",\n \"Household Goods\",\n \"Pet Products\",\n \"Pharmacy\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"% of total by years\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784867413940, 1507164784867413939, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#BA74B3\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784691253170, 1507164784691253169, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"title\": \"60 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"90 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"25 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Красная\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Красная\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"10\",\n \"guid_formula\": \"10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"25 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"90 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Diff\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"title\": \"90 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Diff\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"25 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"517278f0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Area\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"95 Quantile\": \"6\",\n \"Квантиль разница\": \"18\",\n \"25 Quantile\": \"2\",\n \"90 Quantile\": \"6\",\n \"Diff\": \"18\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Shipping time\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Line\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784498315183, 1507164784498315184, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164784322154414, 1507164784322154413, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644496054\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivery service\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781855903638, 1507164781855903637, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Clients Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Clients percent of Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"title\": \"Clients\",\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"source\": \"user_id\",\n \"cast\": \"integer\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0ec0a130-53b3-11ed-981b-3d3870438bea\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781662965652, 1507164781662965651, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_creation_date\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781478416274, 1507164781478416273, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"Colormap\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781302255503, 1507164781302255504, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Order year\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Running sum Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164781126094734, 1507164781126094733, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631862829561\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780933156748, 1507164780933156747, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Payment type\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780748607370, 1507164780748607369, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"title\": \"Sales in currency\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales in currency\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"currency\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"currency\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"default_value\": \"ILS\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\",\n \"value_constraint\": null,\n \"avatar_id\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780564057992, 1507164780564057991, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"aggregation\": \"avg\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Shipping time\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"949fefc0-5234-11ed-8935-39b8282a53d8\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780379508614, 1507164780379508613, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517557105\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780203347844, 1507164780203347843, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#84D1EE\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164780035575682, 1507164780035575681, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Neighborhoods \",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\",\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"name\": \"Stores\",\n \"alpha\": 100,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779851026304, 1507164779851026303, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779666476926, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"title\": \"Date with max DAU within a month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"DIMENSION\",\n \"title\": \"Order month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"MEASURE\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"source\": \"\",\n \"cast\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"managed_by\": \"user\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"virtual\": false,\n \"description\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779490316156, 1507164779490316155, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Средний чек индикатор\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Средний чек индикатор\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": false,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"guid_formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779255435130, 1507164779255435129, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bouns\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Avg by category\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Sales]*0.97\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"2ec40a20-257e-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Bonus\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by category\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164779020554104, 1507164779020554103, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"pink-gray-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"avatar_id\": null,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"YEAR([Order date])\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"Order year\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778810838902, 1507164778810838901, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778617900915, 1507164778617900916, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"dataset\": {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"route\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"latitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"longitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"distance_km\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"altitude\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"speed_kmh\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"timestamp\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": false,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"point_num\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"precision\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"run_routes\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"run_routes\",\n \"index_info_set\": null,\n \"parameter_hash\": \"d8a5c4b2ff666c2a\",\n \"valid\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"revision_id\": null,\n \"obligatory_filters\": [],\n \"avatar_relations\": [],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_5-5\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"mavg([speed_kmh],5,5)\",\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_2-2\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"MAVG([speed_kmh],2,2)\",\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"latitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"longitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"distance_km\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"altitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"timestamp\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n }\n ],\n \"rls\": {\n \"4c84ecb0-17d7-11ec-b071-594d21764286\": \"\",\n \"370bcb10-17d7-11ec-b071-594d21764286\": \"\",\n \"0a93f940-17d7-11ec-b071-594d21764286\": \"\",\n \"015e0b29-762f-4a41-82c7-5d86fcd0c359\": \"\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\": \"\",\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\": \"\",\n \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\": \"\",\n \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\": \"\",\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\": \"\",\n \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\": \"\",\n \"db35c272-f907-4e80-b54e-d9926e421d48\": \"\",\n \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\"\n ]\n },\n {\n \"dep_field_id\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n },\n {\n \"dep_field_id\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"02e14d11-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.run_routes\",\n \"valid\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Карты и геофункции/Маршруты\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"s6czlk5wiwiuj\",\n \"realName\": \"Маршруты\"\n }\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"title\": \"Доставка - район\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"DeliveryDistrictName\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630510217116\",\n \"datasetName\": \"Продажи\",\n \"filter\": {\n \"value\": [\n \"Кунцево\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900814150\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add\",\n \"field\": {\n \"quickFormula\": true,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"originalTitle\": \"Дата заявки\",\n \"originalFormula\": \"\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"aggregation\": \"none\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"fakeTitle\": \"Дата заявки\"\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"id\": \"inserted-1569803595553\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"local\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"undragable\": false\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"guid\": \"0c86b9ae-06fe-490c-8419-ab1a477bbd0f\",\n \"managed_by\": \"user\",\n \"source\": \"FinelAmount\",\n \"title\": \"Продажа с учетом скидки, ₽\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"calc_mode\": \"direct\",\n \"id\": \"inserted-1569803886498\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"labelMode\": \"percent\"\n }\n }\n ],\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"DeliveryAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505166942\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"b3c097a0-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Клиенты\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"title\": \"Доставка - район (полигон)\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"calc_mode\": \"direct\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1569874874842\"\n }\n ],\n \"required\": true,\n \"capacity\": null,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"yellow\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Районы\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"polyline\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": false,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"polyline\",\n \"type\": \"polyline\",\n \"title\": \"section_polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900884829\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"polylinePoints\": \"off\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": []\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"grouping\",\n \"type\": \"grouping\",\n \"title\": \"section_grouping\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900882793\",\n \"datasetName\": \"Маршруты\"\n }\n ]\n }\n ],\n \"layerSettings\": {\n \"type\": \"polyline\",\n \"id\": \"1847b060-17df-11ec-8410-31ac0377a84c\",\n \"name\": \"Маршрут аудитора\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900801390\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"1\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900840672\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"Москва\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505038662\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopName\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505351027\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Адрес магазина\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddress\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505344806\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"6d6a4e40-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Магазины\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"placeholders\": [],\n \"hidden\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778198470514, 1507164778198470513, NULL); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164778013921136, 1507164778013921135, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777820983150, 1507164777820983149, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"title\": \"MoM, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"title\": \"MoM, % (#)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 20,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, % (#)\",\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"formula\": \"([Sales] - [AGO 1m]) /ABS([AGO 1m])\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, %\",\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"MoM, %\",\n \"hidden\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"62656de0-53d4-11ed-806a-656f0b795542\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"manual\",\n \"leftThreshold\": \"-1\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"red-orange-green\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"3c689620-53d5-11ed-806a-656f0b795542\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777628045164, 1507164777628045163, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"heatmap\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Heatmap\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"string\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"DeliveryDistrictName\",\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017712920\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"OrderID\",\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017621635\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017624549\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777443495786, 1507164777443495785, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order month\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1)\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"LAG\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"LAG([Sales], 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777250557799, 1507164777258946408, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"user_id\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"has_auto_aggregation\": false,\n \"title\": \"ClientID\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"OrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"has_auto_aggregation\": false,\n \"title\": \"OrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"FirstOrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164777082785638, 1507164777074397029, '{"dataset": "infciq1c89je7"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Forecast\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Forecast\": \"Dash\"\n }\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Plan\",\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Forecast\",\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"e45d1c70-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"[Продажа, ₽]*1.1\": \"1\",\n \"План\": \"2\"\n },\n \"fieldGuid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Forecast\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ]\n }\n }\n ],\n \"selectedLayerId\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776889847652, 1507164776889847651, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"title\": \"Label with brake\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"type\": \"MEASURE\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"title\": \"Label with brake\",\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"initial_data_type\": \"string\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"has_auto_aggregation\": true,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Label with brake\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"virtual\": false,\n \"cast\": \"date\",\n \"title\": \"Order month\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"has_auto_aggregation\": false,\n \"data_type\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"guid_formula\": \"\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"manual\",\n \"titleValue\": \"Число продуктов\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776705298274, 1507164776705298273, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg clients per day\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776512360287, 1507164776512360288, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"lock_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776327810909, 1507164776327810910, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631645887272\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Продажа, ₽\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": false,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631645945506\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Quantity\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164776151650140, 1507164776151650139, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Max in every year Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Max in every year Label\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Max in every year Label\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775967100762, 1507164775967100761, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775790939992, 1507164775782551383, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775572836182, 1507164775564447573, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"string\",\n \"aggregation_locked\": false,\n \"data_type\": \"string\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"managed_by\": \"user\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"cast\": \"string\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775388286804, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775186960210, 1507164775186960209, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164775010799440, 1507164775002410831, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales as % of TOTAL\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales as % of TOTAL\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales as % of TOTAL\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1,\n \"units\": null\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2a71c010-536a-11ed-a6bf-83c15c101a58\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164774742363981, 1507164774750752590, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631643553455\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Orders\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164774448762700, 1507164774415208267, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Constant\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"Constant\": \"Dash\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Constant\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Constant\",\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"Constant\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"Constant\": \"19\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Constant\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164774129995593, 1507164774129995594, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"s\",\n \"metricFontColor\": \"#BE2443\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773886725960, 1507164773886725959, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#FFC636\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773718953798, 1507164773718953797, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"off\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1666640570174\"\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773542793028, 1507164773542793027, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Sales\": \"15\",\n \"Moving avg 5 previous\": \"4\",\n \"Moving avg 5 previous and 5 next\": \"1\",\n \"Moving avg 14 previous and 14 next\": \"1\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Moving avg 5 previous\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Moving avg 5 previous\": \"Dash\",\n \"Moving avg 5 previous and 5 next\": \"LongDashDot\",\n \"Sales\": \"Solid\"\n }\n },\n \"sort\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order date\",\n \"source\": \"order_creation_date\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 5 previous\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 5) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-21\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Moving avg 5 previous\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"mavg([Sales], 5) \",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"cast\": \"float\",\n \"hidden\": false,\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"has_auto_aggregation\": true,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773349855042, 1507164773349855041, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"UNKNOWN\": \"15\",\n \"DESKTOP\": \"3\",\n \"MOBILE_BROWSER\": \"14\",\n \"ANDROID\": \"6\",\n \"IOS\": \"2\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"title\": \"Share Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"title\": \"Clients Share\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Clients Share\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Clients]/SUM([Clients] TOTAL)\",\n \"guid_formula\": \"[ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350]/SUM([ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Share Label\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"MAX([Platform]) + \\\" \\\" + LEFT(STR([Clients Share]*100),3) + \\\"%\\\"\",\n \"guid_formula\": \"MAX([b76344a2-2cc1-4f65-bb40-f81035853bf2]) + \\\" \\\" + LEFT(STR([216523c0-31ed-11ed-acd1-57895da41aa1]*100),3) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Platform\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164773123362624, 1507164773123362623, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"5\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"RANK([Sales])\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"RANK([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772947201854, 1507164772947201853, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642623261\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642617405\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642621533\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772762652476, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"aggregation\": \"countunique\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"hidden\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772569714490, 1507164772569714489, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"m\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631646716962\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164772267724600, 1507164772267724599, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [\n \"Central\"\n ],\n \"linesMode\": \"selected\",\n \"periodSettings\": {\n \"value\": \"12\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Техника для дома\": \"LongDashDot\",\n \"Central\": \"Solid\",\n \"Jaffa\": \"LongDash\",\n \"North\": \"Dash\",\n \"South\": \"Dot\"\n },\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771974123318, 1507164771974123317, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631645544892\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771747630900, 1507164771747630899, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"dataset\": {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n }\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631650892682\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771303034674, 1507164771294646065, NULL); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"percent\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631647315729\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"column\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164771118485296, 1507164771110096687, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"title\": \"Undelivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644188445\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770850049838, 1507164770850049837, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770648723244, 1507164770648723243, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"Категория\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770464173866, 1507164770464173865, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Plan\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"18\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"local\": true,\n \"quickFormula\": true,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"source\": \"\",\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"originalTitle\": \"Bonus\",\n \"fakeTitle\": \"Bonus\",\n \"aggregation\": \"sum\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"calc_mode\": \"formula\",\n \"formula\": \"[quantity]/10\",\n \"id\": \"measure-0\",\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 3\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770254458664, 1507164770254458663, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"gray\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"title\": \"Products\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"off\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Appliances\",\n \"Auto\",\n \"Books\",\n \"Equipment\",\n \"Leisure and entertainment\",\n \"Pet Products\",\n \"Products\",\n \"Sports and activities\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Products\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"tree_str\",\n \"valid\": true,\n \"data_type\": \"tree_str\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"tree_str\",\n \"title\": \"Products\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"tree_str\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"auto\",\n \"value\": \"500\"\n }\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"cast\": \"float\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"0b594020-523b-11ed-97a2-297ae2ad8641\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"leftThreshold\": \"0\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164770061520678, 1507164770061520677, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"title\": \"Moving Average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"string\",\n \"guid\": \"scale\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"scale\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Moving Average\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"autoaggregated\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"data_type\": \"date\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"virtual\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Moving Average\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769633701666, 1507164769633701665, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769407209248, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Layer 1\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164769197494046, 1507164769197494045, '{"dataset": "qvnkqz8s0wdqf"}'); -INSERT INTO "public"."revisions" ("data", "meta", "created_by", "created_at", "updated_by", "updated_at", "rev_id", "entry_id", "links") VALUES -('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' ? buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 'uid:systemId', '2023-09-11 11:47:20.751846+03', 1507164768249581338, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), -('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "RXK", "data": {"tabs": [{"id": "VbB", "title": "Reference line", "params": {}, "chartId": "x2urx8e5by90m", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "k0e", "data": {"text": "In some cases, it is convenient to use a combined diagram for the same type of layers. In this example, on one layer we break down sales by region, and on the second layer we enter reference line with a constant."}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "RXK", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 48}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 61}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "k0e", "w": 19, "x": 17, "y": 35}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "G7g", "data": {"tabs": [{"id": "d1Q", "title": "Title 1", "params": {}, "chartId": "05xu0fmnbe0up", "isDefault": true, "autoHeight": false, "description": "`if([Delivered, %]>0.65, CONCAT(\"✔️\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\"🔻\",STR(round([Delivered, %]*100,1)))) + \"%\"`"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search?q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "L9R", "data": {"tabs": [{"id": "jOL", "title": "Title 1", "params": {}, "chartId": "ch96co0501xy1", "isDefault": true, "autoHeight": false, "description": "You can add custom labels with line brakes `if([Order month]=#2020-01-01#, ANY(\"Something
import
happened🔻\"), NULL)`\n"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 18, "i": "G7g", "w": 14, "x": 22, "y": 58}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 18, "i": "L9R", "w": 22, "x": 0, "y": 58}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "7eX", "data": {"size": "m", "text": "Label max value for each year", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AOP", "data": {"tabs": [{"id": "NJB", "title": "Title 1", "params": {}, "chartId": "05xu0cbm5lr6p", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "MYZ", "data": {"text": "Add calculated filed \n```sql\nif (\n [Order month]=\n FIRST\n (\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\n WITHIN YEAR([Order month]) -- group by years\n order by [Sales] desc -- sort by sales\n ) -- get month with max sales\n ,\n [Sales]-- show sales if it is a max month\n , NULL) --show nothing otherwise\n```"}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 84}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 82}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 84}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 147}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 102}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 100}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 149}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 102}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 149}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 116}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 118}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 118}, {"h": 2, "i": "7eX", "w": 36, "x": 0, "y": 133}, {"h": 12, "i": "AOP", "w": 16, "x": 0, "y": 135}, {"h": 12, "i": "MYZ", "w": 20, "x": 16, "y": 135}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 44}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 46}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 46}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 59}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 80}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 55}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 80}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 77}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-09-21 19:42:04.230151+03', 'uid:systemId', '2023-09-21 19:42:04.230151+03', 1514651459633808403, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0cbm5lr6p": "05xu0cbm5lr6p", "05xu0e1so1o6p": "05xu0e1so1o6p", "05xu0fmnbe0up": "05xu0fmnbe0up", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96co0501xy1": "ch96co0501xy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urx8e5by90m": "x2urx8e5by90m", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'); +INSERT INTO public.revisions (data, meta, created_by, created_at, updated_by, updated_at, rev_id, entry_id, links) VALUES + ('{"host": null, "name": null, "port": null, "secure": false, "db_name": null, "enabled": true, "endpoint": "", "username": null, "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "off", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null}', '{"state": "saved", "version": 11, "mdb_folder_id": null, "version_minor": 0, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164766655745814, 1507164766655745813, '{}'), + ('{"host": "rc1a-dcvk9cgrhmu889sj.mdb.yandexcloud.net,rc1b-lk2m3n43pststo6d.mdb.yandexcloud.net", "name": null, "port": 8443, "secure": true, "ssl_ca": null, "db_name": null, "endpoint": "", "username": "opensource-demo", "table_name": null, "cluster_name": null, "cache_ttl_sec": null, "mdb_folder_id": null, "raw_sql_level": "dashsql", "mdb_cluster_id": null, "sample_table_name": null, "max_execution_time": null, "data_export_forbidden": false}', '{"state": "saved", "mdb_folder_id": null, "mdb_cluster_id": null}', 'uid:systemId', '2023-09-15 11:14:37.634851+00', 'uid:systemId', '2023-09-15 11:14:37.634851+00', 1510137996244943889, 1510137996244943888, '{}'), + ('{"rls": [], "name": "", "revision_id": "AgjoqxYbcbZZjnepVtH8g2", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "Custom SQL", "valid": true, "is_root": true, "source_id": "56eb3842-5302-11ee-85f5-aba80832f682", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "56eb3842-5302-11ee-85f5-aba80832f682", "type": "collection", "title": "Custom SQL", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\t\"opensource-demo\".orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\nFROM \"opensource-demo\".orders \n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_SUBSELECT", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 13:26:51.433399+00', 'uid:systemId', '2023-09-14 13:26:51.433399+00', 1509479774060283664, 1507164767695933207, '{"56eb3842-5302-11ee-85f5-aba80832f682": "rxhvo6ms2xj0g"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $1 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"title\": \"Delivery date and time (+6)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"genericdatetime\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"genericdatetime\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"genericdatetime\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Delivery date and time (+6)\",\n \"guid\": \"b90b7cc0-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"DATEADD([Delivery date and time],\\\"hour\\\",6)\",\n \"guid_formula\": \"DATEADD([cddd9cad-52a2-4232-8898-ade9a972c864],\\\"hour\\\",6)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"guid\": \"ec6c4220-542e-11ed-9c8f-7704d9619d31\",\n \"formula\": \"datepart([Delivery date and time (+6)], \\\"hour\\\")\",\n \"guid_formula\": \"datepart([b90b7cc0-542e-11ed-9c8f-7704d9619d31], \\\"hour\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY HH:mm:ss\",\n \"grouping\": \"part-hour\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"fakeTitle\": \"Delivery date and time (+5)\",\n \"quickFormula\": true,\n \"originalDateCast\": \"genericdatetime\",\n \"originalTitle\": \"Delivery date and time (+5)\",\n \"originalFormula\": \"DATEADD([Delivery date and time],\\\"hour\\\",5)\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784137605035, 1507164784137605036, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $2 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Product category 1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"RANK by categories\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"RANK by categories\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK_DENSE(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"RANK_DENSE(SUM([Sales] within [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783944667050, 1507164783944667049, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"rls": [], "name": "", "access_mode": "direct", "revision_id": "NieMhem5pPgwfFxJLwagqu", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "integer", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "SQL for cohorts", "valid": true, "is_root": true, "source_id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "c221e501-14c8-11ee-8d76-3b5eb2be9b3d", "type": "collection", "title": "SQL for cohorts", "valid": true, "origin": {"parameters": {"subsql": "SELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "date", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "date", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SUBSELECT", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164767695933208, 1507164767695933207, '{"c221e501-14c8-11ee-8d76-3b5eb2be9b3d": "otliowpa3lyad"}'), + ('{"rls": [], "name": null, "revision_id": "Smy7MRw3maESYh5wt5zPs9", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time] - [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "opensource-demo.orders", "valid": true, "is_root": true, "source_id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "opensource-demo.managers", "valid": true, "is_root": false, "source_id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "21fa32c0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "Europe/Moscow", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "2744dfa0-52fe-11ee-a421-656ff8f1cbea", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "opensource-demo", "db_version": "23.8.2.7", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_TABLE", "connection_id": "rxhvo6ms2xj0g"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-14 12:58:32.319205+00', 'uid:systemId', '2023-09-14 12:58:32.319205+00', 1509465520934487792, 1507164769826639651, '{"21fa32c0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g", "2744dfa0-52fe-11ee-a421-656ff8f1cbea": "rxhvo6ms2xj0g"}'), + ('{"rls": [], "name": null, "access_mode": "direct", "revision_id": "YDvez9RKaz46M7nSijxWxk", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "date", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time]- [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "integer", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "date", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "date", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "order_buyer_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "date", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "date", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "date", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "integer", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "samples.orders", "valid": true, "is_root": true, "source_id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "samples.managers", "valid": true, "is_root": false, "source_id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status", "c81b1fa0-e207-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "scale"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "ec61a120-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "orders"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": true, "description": "", "native_type": {"name": "float64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_name", "type": "string", "title": "order_buyer_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "date", "title": "order_creation_date", "nullable": true, "description": "", "native_type": {"name": "date", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": true, "description": "", "native_type": {"name": "datetimewithtz", "nullable": false, "conn_type": "clickhouse", "timezone_name": "UTC", "lowcardinality": false, "explicit_timezone": false, "native_type_class_name": "clickhouse_datetimewithtz_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "integer", "title": "order_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": true, "description": "", "native_type": {"name": "int64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": true, "description": "", "native_type": {"name": "bool", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "integer", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "uint64", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "ee06ecb0-14c8-11ee-b880-87edf4530ca6", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_name": "samples", "table_name": "managers"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": true, "description": "", "native_type": {"name": "string", "nullable": false, "conn_type": "clickhouse", "lowcardinality": false, "native_type_class_name": "clickhouse_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "CH_FROZEN_SOURCE", "connection_id": "otliowpa3lyad"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769826639652, 1507164769826639651, '{"ec61a120-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad", "ee06ecb0-14c8-11ee-b880-87edf4530ca6": "otliowpa3lyad"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $3 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [\n {\n \"guid\": \"87ebc780-5086-11ee-bdf9-efb497959b46\",\n \"title\": \"Location\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"id\": \"visArea\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"date\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"data_type\": \"date\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"valid\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 09:35:54.179495+00', 'uid:systemId', '2023-09-11 09:35:54.179495+00', 1507189203752980462, 1507189203752980463, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $4 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 6,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK WITHIN\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Sales RANK WITHIN\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"RANK([Sales] WITHIN [category_name_level_1])\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales RANK WITHIN\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"pixel\",\n \"value\": \"260\"\n }\n }\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783760117672, 1507164783760117671, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $5 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"План - константа\": \"ShortDashDotDot\",\n \"Среднее по категориям\": \"LongDashDotDot\",\n \"Avg by region\": \"Dash\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by region\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Avg by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [order_buyer_region_name] ))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Region] ))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\",\n \"Avg by region\": \"19\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783558791077, 1507164783558791078, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $6 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Population sort\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Population group\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_population_group\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_population_group\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"avg\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {},\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"d4e27a70-5235-11ed-ad0a-1d6fc3f8c49f\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783357464483, 1507164783357464484, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $7 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"title-b68a67f0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Label\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"string\",\n \"type\": \"MEASURE\",\n \"title\": \"Label\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"formula\": \"if([Delivered, %]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\\\"🔻\\\",STR(round([Delivered, %]*100,1)))) + \\\"%\\\"\",\n \"guid_formula\": \"if([a6b94410-e219-11e9-a279-0b30c0a74ab7]>0.65, CONCAT(\\\"✔️\\\",STR(ROUND([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1))),CONCAT(\\\"🔻\\\",STR(round([a6b94410-e219-11e9-a279-0b30c0a74ab7]*100,1)))) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_2\",\n \"guid\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-38\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164783164526498, 1507164783164526497, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $8 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#FFB46C\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Shipping time\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"avg\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \" day\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782979977120, 1507164782971588511, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $9 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fae00770-18a1-11ec-86a5-41798b5d066f\",\n \"title\": \"Dates\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782770261918, 1507164782770261917, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $10 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"string\",\n \"title\": \"Platform\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"ANDROID\": \"6\",\n \"DESKTOP\": \"3\",\n \"IOS\": \"2\",\n \"MOBILE_BROWSER\": \"14\",\n \"UNKNOWN\": \"15\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782493437852, 1507164782493437851, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $11 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782317277081, 1507164782317277082, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $12 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"source\": \"ProductCategory\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"title\": \"Дата через параметр\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"title\": \"Число магазинов\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Месяц заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Год заявки\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Доставка - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"ID заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"ID клиента\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Число клиентов\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Дата и время заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Дата заявки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Дата и время доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Дата доставки\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"title\": \"Скидка, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Среднее число продуктов в заказе\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Доставка - тип\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Тип оплаты\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"Клиент\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"title\": \"Клиент - пол\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Клиент - статус\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"title\": \"Клиент- дата рождения\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Продукт - категория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Продукт - подкатегория\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Продукт - бренд\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Продукт\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"title\": \"Магазин - адрес\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"title\": \"Магазин - район (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"title\": \"Магазин - район\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"title\": \"Доставка - округ\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"title\": \"Доставка - округ (полигон)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"title\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"true\"\n ],\n \"operation\": {\n \"code\": \"EQ\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Полный период - флаг\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"boolean\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e72c3f30-d851-11ec-88de-3d3d694378b6\",\n \"title\": \"Полный период - флаг\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"boolean\",\n \"type\": \"DIMENSION\",\n \"cast\": \"boolean\",\n \"formula\": \"[Дата заявки] < DATETRUNC((TODAY() -1), [scale])\",\n \"guid_formula\": \"[3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] < DATETRUNC((TODAY() -1), [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"f876a0b0-d850-11ec-88de-3d3d694378b6\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Дата через параметр\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"DATETRUNC([Дата заявки], [scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], [scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Продажи\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"Price\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Продажи\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164782074007447, 1507164782074007448, NULL), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $13 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 09:02:27.545481+00', 'uid:systemId', '2023-09-11 09:02:27.545481+00', 1507172370811457514, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $14 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n\n // your code here\n\n module.exports = result;\n} else {\n // your code here\n\n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Region\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"order_buyer_region_name\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422579735\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"title\": \"Population sort\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"totals\": \"on\",\n \"labelsPosition\": \"outside\",\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 4,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Population sort\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"815471a0-5236-11ed-a0f0-c3609d7198d3\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"CASE([order_buyer_region_population_group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"formula\": \"CASE([Population group],\\r\\n\\\"More than 300K\\\",5,\\r\\n\\\"50K - 300K\\\",4,\\r\\n\\\"10K - 50K\\\",3,\\r\\n\\\"Less than 10K\\\",2,\\r\\n\\\"Other\\\",1,\\r\\n0)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"9\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"iconProps\": {\n \"id\": \"visScatter\",\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"valid\": true,\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422570832\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"f24e7f30-34e1-11ed-af5f-633861cdac17\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"hidden\": false,\n \"title\": \"Clients\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\",\n \"axisModeMap\": {\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"continuous\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"hidden\": false,\n \"title\": \"Neighbourhood\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"virtual\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422554154\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"discrete\"\n }\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {},\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"hidden\": false,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1694422568249\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"capacity\": 1,\n \"settings\": {\n \"axisModeMap\": {\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"continuous\"\n }\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n actionParams: ChartEditor.getActionParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 09:00:25.337536+00', 'uid:systemId', '2023-09-11 09:00:25.337536+00', 1507171345740337127, 1507171345740337126, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $15 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"New chart\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"2257a1c0-52b5-11ed-a357-2b816bb998cb\",\n \"title\": \"New hierarchy\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order date (scale)\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164789036552160, 1507164789036552159, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $16 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"k\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788860391389, 1507164788860391390, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $17 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"% Delivered\": \"5\",\n \"Delivered, %\": \"5\"\n },\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"source\": \"\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788675842011, 1507164788675842012, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $18 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788449349593, 1507164788449349594, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $19 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"geopolygon\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788273188824, 1507164788273188823, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $20 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164788097028054, 1507164788097028053, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $21 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Avg among category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"category_name_level_3 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"title\": \"Product Link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 15,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_3\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Smart speakers\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, %\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product Link\",\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"formula\": \"URL(\\\"https://www.google.com/search$22q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$23q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search$24q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search$25q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_3 (1)\",\n \"guid\": \"545b20f0-543d-11ed-8cd5-1d5809ea917a\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category 3\",\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg among category\",\n \"guid\": \"6da73c30-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"AVG([Sales] FIXED [Category 3])\",\n \"guid_formula\": \"AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] FIXED [56135840-543d-11ed-8cd5-1d5809ea917a])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Diff to avg\",\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Quantity label\",\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"description\": \"\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"formula\": \"URL(\\\"https://www.google.com/search$26q=\\\" + [Product name], [Product name])\\r\\n\",\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"initial_data_type\": \"markup\",\n \"has_auto_aggregation\": false,\n \"guid\": \"16e810b0-7db6-11ec-8d01-77329a83e767\",\n \"data_type\": \"markup\",\n \"title\": \"Product Link\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-6\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$27q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"markup\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"markup\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Category link\",\n \"guid\": \"a0c21bc0-543c-11ed-8cd5-1d5809ea917a\",\n \"formula\": \"BOLD(URL(\\\"https://www.google.com/search$28q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"guid_formula\": \"BOLD(URL(\\\"https://www.google.com/search$29q=\\\" + [category_name_level_2], [category_name_level_2]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"markup\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"56135840-543d-11ed-8cd5-1d5809ea917a\",\n \"title\": \"Category 3\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"markup\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"ITALIC([category_name_level_3])\",\n \"formula\": \"ITALIC([category_name_level_3])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-46\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"eab840d0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Central\": \"18\",\n \"Jaffa\": \"19\",\n \"North\": \"5\",\n \"South\": \"11\"\n }\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"order_buyer_region_name\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-32\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#CCCC\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"fa1ed1b0-543f-11ed-9eeb-55252dd01662\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"63cf17f0-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Diff to avg\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF (AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [6da73c30-5440-11ed-9eeb-55252dd01662]) /ABS([6da73c30-5440-11ed-9eeb-55252dd01662])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"formula\": \"IF (AVG([amount]) - [Avg among category]) /ABS([Avg among category]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND((AVG([amount]) - [Avg among category]) /ABS([Avg among category])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"c12d3940-5440-11ed-9eeb-55252dd01662\",\n \"title\": \"Quantity label\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"IF [5ab73893-e624-4ac2-b3fd-28f86098388d] >1000\\r\\nTHEN \\\"✅ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nELSE \\\"❌ \\\" + STR([5ab73893-e624-4ac2-b3fd-28f86098388d])\\r\\nEND\",\n \"formula\": \"IF [Quantity] >1000\\r\\nTHEN \\\"✅ \\\" + STR([Quantity])\\r\\nELSE \\\"❌ \\\" + STR([Quantity])\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787895701459, 1507164787895701460, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $30 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales AGO\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Order date (scale)\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"valid\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ad7c2b30-d872-11ec-88de-3d3d694378b6\",\n \"title\": \"Sales AGO\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"cast\": \"float\",\n \"formula\": \"AGO([Sales], [Order date (scale)], [scale], [ago-period])\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [4ba1cd00-34ea-11ed-8623-bd85e3266c4f], [scale], [ago-period])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787719540689, 1507164787719540690, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $31 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"title\": \"Diff to average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"e348f800-09c9-11ed-95d1-cfa5f5599ea5\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0e352060-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n }\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Diff to average\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"([Sales] - AVG([Sales] TOTAL))/AVG([Sales] TOTAL)\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL))/AVG([fce88220-0b2e-11ec-bd48-b9e839be43ee] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"11a519d0-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"bf54c280-09bf-11ed-a3e1-812ccaf25967\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"19bf8880-52be-11ed-ba6c-0f42190a6cec\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n },\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787534991311, 1507164787534991312, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $32 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 2,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"treemap\",\n \"type\": \"treemap\",\n \"name\": \"label_visualization-treemap\",\n \"allowFilters\": true,\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_dimensions\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521882125\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787358830541, 1507164787358830542, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $33 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"title\": \"Plan diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan diff\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"44fa9c50-5305-11ed-9579-41c7c82139c7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee]-[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b])/[e465ad60-257a-11ed-acc7-5f5b9f8ecd1b]\",\n \"formula\": \"([Sales]-[Plan])/[Plan]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"19\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164787174281164, 1507164787174281163, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $34 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Label last\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Label last\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Label last\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if(\\r\\n max([848f5000-0eef-11ec-bc14-6de0c4d5d690]) = LAST(max([848f5000-0eef-11ec-bc14-6de0c4d5d690])), --check if point is the last\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"formula\": \"if(\\r\\n max([Order month]) = LAST(max([Order month])), --check if point is the last\\r\\n [Sales], --if yes, show metric\\r\\n null --if no, show nothing\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786998120394, 1507164786998120393, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $35 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"title\": \"Point\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"title\": \"Delivered, % by region\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Delivered, % by region\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"097880a0-5398-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Regions\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-41\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614882676\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Delivered, % by region\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"b4844d90-5397-11ed-8ce3-8d3d7f0294ca\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"AVG([a6b94410-e219-11e9-a279-0b30c0a74ab7] FIXED [order_buyer_region_name])\",\n \"formula\": \"AVG([Delivered, %] FIXED [Region])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Point\",\n \"guid\": \"05dd2510-53d2-11ed-9e65-737f9609d828\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"name\": \"Clusters\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"manager\",\n \"guid\": \"manager\",\n \"avatar_id\": \"e90effb0-5365-11ed-a72f-1901cbf3c62a\",\n \"source\": \"manager\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666639785408\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"emerald20-palette\",\n \"mountedColors\": {\n \"Tim Wood\": \"19\",\n \"Peter Tillman\": \"15\",\n \"Mike Fox\": \"8\",\n \"Mark Crashbow\": \"4\",\n \"Dan Kineman\": \"0\"\n },\n \"fieldGuid\": \"manager\",\n \"coloredByMeasure\": false\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614755666\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"a2d664c0-5397-11ed-8ce3-8d3d7f0294ca\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786805182408, 1507164786805182407, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $36 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"order_order_status\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"DELIVERED\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"title-203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"guid\": \"203bcee0-542f-11ed-a78d-ad730094ab69\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Delivery date], \\\"week\\\")\",\n \"guid_formula\": \"datetrunc([cfe4a4f0-e314-11e9-9730-e7d592294dab], \\\"week\\\")\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"trunc-week\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"local\": true,\n \"fakeTitle\": \"Delivery date\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"order_delivery_datetime\",\n \"originalTitle\": \"Delivery date\",\n \"originalFormula\": \"datetrunc([Delivery date], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786629021637, 1507164786629021638, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $37 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631644233629\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786444472260, 1507164786444472259, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $38 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 1,\n \"minRadius\": 2,\n \"maxRadius\": 10\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"scatter\",\n \"type\": \"line\",\n \"name\": \"label_visualization-scatter\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": true,\n \"virtual\": false,\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"aggregation\": \"none\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Delivered, %\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"countunique\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Clients\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"points\",\n \"type\": \"points\",\n \"title\": \"section_points\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"cast\": \"integer\",\n \"aggregation\": \"sum\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"title\": \"Quantity\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786217979842, 1507164786217979841, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $39 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 50,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2e35bfc0-53d4-11ed-9996-050410c36b7c\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"fakeTitle\": \"AGO 1m\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164786041819071, 1507164786041819072, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $40 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Product category 2\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"order_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"source\": \"user_id\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785857269693, 1507164785857269694, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $41 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"colormap.retention\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-1\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"yellow-green-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.abs\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"title\": \"colormap.retention.precalc\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"title\": \"abs-retention\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"58886550-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"colormap.retention.precalc\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\t(round([COUNTS])), \\r\\n\\t(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\\r\\n\\t)\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\t(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\t(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d])))\\r\\n\\t)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.abs\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"9bc25380-17eb-11ec-927f-27cd662cd7e4\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"colormap.retention\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[colormap.retention.precalc]/MAX([colormap.retention.precalc] among [FirstOrder_Month])\",\n \"guid_formula\": \"[58886550-17eb-11ec-927f-27cd662cd7e4]/MAX([58886550-17eb-11ec-927f-27cd662cd7e4] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"FirstOrder_Month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"30d\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --full 30 days\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"SQL Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --full 30 days\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''month'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"SQL Когорты\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''month'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"First Order\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"abs-retention\",\n \"formula\": \"if (\\r\\n\\t[30d]=0, \\r\\n\\tstr(round([COUNTS])), \\r\\n\\tconcat(str(round(100*[COUNTS]/RMAX([COUNTS] among [30d]))), \\\"%\\\")\\r\\n\\t)\",\n \"cast\": \"string\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"c3098590-17ea-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-4\",\n \"datasetName\": \"SQL Когорты\",\n \"guid_formula\": \"if (\\r\\n\\t[dfb5a370-17e7-11ec-bc01-71b9fa25df3d]=0, \\r\\n\\tstr(round([72ed6ed0-17e7-11ec-9e8f-356072e14374])), \\r\\n\\tconcat(str(round(100*[72ed6ed0-17e7-11ec-9e8f-356072e14374]/RMAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [dfb5a370-17e7-11ec-bc01-71b9fa25df3d]))), \\\"%\\\")\\r\\n\\t)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785655943100, 1507164785655943099, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $42 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"title\": \"Подкатегория продукта - сумма\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Orders\",\n \"source\": \"order_id\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Подкатегория продукта - сумма\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"ProductSubcategory\",\n \"guid\": \"52615f20-0f0c-11ec-b33f-3f200c20557d\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pie\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-pie\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"lock_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"aggregation\": \"countunique\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-16\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785421062074, 1507164785421062073, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $43 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517989240\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n },\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517984518\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"bar\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785236512695, 1507164785236512696, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $44 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"title\": \"Product link\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 8,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"markup\",\n \"title\": \"Product link\",\n \"data_type\": \"markup\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"markup\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"URL(\\\"https://www.google.com/search$45q=\\\" + [Product name], [Product name])\\r\\n\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$46q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"markup\",\n \"title\": \"Product link\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"markup\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"markup\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"URL(\\\"https://www.google.com/search$47q=\\\" + [b9e8f031-bbc8-4f35-ab4e-59d89208185a], [b9e8f031-bbc8-4f35-ab4e-59d89208185a])\\r\\n\",\n \"formula\": \"URL(\\\"https://www.google.com/search$48q=\\\" + [Product name], [Product name])\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Product | 🔗 Click to go to dashboard by product\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"ead4b4f0-523b-11ed-bcb4-57270be790f2\",\n \"settings\": {\n \"gradientState\": {},\n \"paletteState\": {\n \"palette\": \"default-palette\",\n \"mountedColors\": {}\n },\n \"isContinuous\": false\n },\n \"colorFieldGuid\": \"652a73f0-31eb-11ed-b957-8fe327da0315\"\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164785051963317, 1507164785051963318, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $49 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"category_name_level_1\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"category_name_level_1\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"category_name_level_1\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-36\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"category_name_level_1\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Auto\",\n \"Cottage and garden\",\n \"Equipment\",\n \"Household Goods\",\n \"Pet Products\",\n \"Pharmacy\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"% of total by years\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"% of total by years\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] within [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2] before filter by [category_name_level_1])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784867413940, 1507164784867413939, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $50 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#BA74B3\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784691253170, 1507164784691253169, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $51 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"title\": \"60 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Diff\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"90 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"title\": \"25 Quantile\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"title\": \"Красная\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"fc264560-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Красная\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"10\",\n \"guid_formula\": \"10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"25 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"90 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Diff\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"title\": \"90 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"7fd657d0-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.90)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.90)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Diff\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"a06b73d0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"[90 Quantile]-[25 Quantile]\",\n \"guid_formula\": \"[7fd657d0-31a2-11ed-aef1-9d3d2ea6599e]-[5eda4820-31a2-11ed-aef1-9d3d2ea6599e]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n },\n {\n \"data_type\": \"float\",\n \"title\": \"25 Quantile\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"5eda4820-31a2-11ed-aef1-9d3d2ea6599e\",\n \"hidden\": false,\n \"cast\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"formula\": \"QUANTILE([Shipping time],0.25)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.25)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"517278f0-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Area\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"95 Quantile\": \"6\",\n \"Квантиль разница\": \"18\",\n \"25 Quantile\": \"2\",\n \"90 Quantile\": \"6\",\n \"Diff\": \"18\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"date\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"cast\": \"date\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"60 Quantile\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"QUANTILE([Shipping time],0.60)\",\n \"guid_formula\": \"QUANTILE([f24e7f30-34e1-11ed-af5f-633861cdac17],0.60)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"fakeTitle\": \"Shipping time\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"manual\",\n \"scaleValue\": [\n \"0\",\n \"4\"\n ],\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"name\": \"Line\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Время доставки, дн\": \"10\",\n \"Время доставки, дн.\": \"10\",\n \"Delivery time\": \"10\",\n \"Shipping time\": \"10\",\n \"50 Quantile\": \"10\"\n },\n \"fieldGuid\": \"05493be0-5245-11ed-9cd3-69c3c5562fa2\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n }\n }\n ],\n \"selectedLayerId\": \"3f700780-34cd-11ed-a5a5-c97d4299e0d0\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784498315183, 1507164784498315184, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $52 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint-with-cluster\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint-with-cluster\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"cast\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0524de20-53bd-11ed-9237-abb57c63627b\",\n \"initial_data_type\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopoint-with-cluster\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"hidden\": false,\n \"autoaggregated\": false,\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630710100\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164784322154414, 1507164784322154413, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $53 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644496054\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivery service\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Orders\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781855903638, 1507164781855903637, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $54 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Clients Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Clients percent of Total\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"title\": \"Clients\",\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"source\": \"user_id\",\n \"cast\": \"integer\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients Total\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Clients percent of Total\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"COUNTD([Client ID]) / COUNTD([Client ID] FIXED)\",\n \"guid_formula\": \"COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444]) / COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] FIXED)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"0ec0a130-53b3-11ed-981b-3d3870438bea\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781662965652, 1507164781662965651, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $55 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"6\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Order date\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_creation_date\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781478416274, 1507164781478416273, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $56 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"[72ed6ed0-17e7-11ec-9e8f-356072e14374]/MAX([72ed6ed0-17e7-11ec-9e8f-356072e14374] among [1f987760-17e8-11ec-bc01-71b9fa25df3d])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"title\": \"Colormap\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"title\": \"FirstOrder_Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"title\": \"30d\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Когорты\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Colormap\",\n \"formula\": \"[COUNTS]/MAX([COUNTS] among [FirstOrder_Month])\",\n \"cast\": \"float\",\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"guid\": \"ecbad9d0-17e9-11ec-927f-27cd662cd7e4\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"30d\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"floor(([OrderDate]-[FirstOrderDate])/30) --число полных 30ти дневных периодов\",\n \"guid\": \"dfb5a370-17e7-11ec-bc01-71b9fa25df3d\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"floor(([7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696]-[6fd23eb8-1f52-4df8-a700-7c97675a9ac8])/30) --число полных 30ти дневных периодов\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([FirstOrderDate],''MONTH'')\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"1f987760-17e8-11ec-bc01-71b9fa25df3d\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrder_Month\",\n \"local\": true,\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\",\n \"guid_formula\": \"DATETRUNC([6fd23eb8-1f52-4df8-a700-7c97675a9ac8],''MONTH'')\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"COUNTD([ClientID])\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"has_auto_aggregation\": true,\n \"title\": \"COUNTS\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781302255503, 1507164781302255504, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $57 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Order year\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Running sum Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Running sum Sales\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"rsum([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"rsum([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164781126094734, 1507164781126094733, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $58 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631862829561\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Regions\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_population_group\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"string\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780933156748, 1507164780933156747, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $59 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Payment type\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-24\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780748607370, 1507164780748607369, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $60 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"title\": \"Sales in currency\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales in currency\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"currency\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"currency\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"cast\": \"string\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"default_value\": \"ILS\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-8\",\n \"datasetName\": \"Orders\",\n \"value_constraint\": null,\n \"avatar_id\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"70d1b400-d874-11ec-9240-47183bee75cd\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Sales in currency\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"if( [currency] = ''ILS'', [Sales], \\n    [currency] = ''USD'', [Sales]/[ILS-USD], \\n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\",\n \"guid_formula\": \"if( [currency] = ''ILS'', [fce88220-0b2e-11ec-bd48-b9e839be43ee], \\n    [currency] = ''USD'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-USD], \\n    [currency] = ''EUR'', [fce88220-0b2e-11ec-bd48-b9e839be43ee]/[ILS-EUR], NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780564057992, 1507164780564057991, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $61 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"1d164a80-34f7-11ed-bee7-7107f00390ad\",\n \"title\": \"Region & Neighbourhood\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"undragable\": false\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#4DA2F1\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"valid\": true,\n \"aggregation_locked\": true,\n \"virtual\": false,\n \"aggregation\": \"avg\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Shipping time\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-4\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#FFB46C\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#84D1EE\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"columnSettings\": {},\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"949fefc0-5234-11ed-8935-39b8282a53d8\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n }\n },\n {\n \"type\": \"MEASURE\",\n \"aggregation_locked\": false,\n \"valid\": true,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"virtual\": false,\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Clients\",\n \"data_type\": \"integer\",\n \"aggregation\": \"countunique\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {},\n \"barsSettings\": {\n \"enabled\": true,\n \"colorSettings\": {\n \"colorType\": \"one-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"color\": \"#DCA3D7\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780379508614, 1507164780379508613, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $62 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666517557105\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780203347844, 1507164780203347843, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $63 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"m\",\n \"metricFontColor\": \"#84D1EE\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164780035575682, 1507164780035575681, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $64 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Neighborhoods \",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\",\n \"fieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"c14b7110-53bb-11ed-8662-71d74ec92580\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Neighbourhood\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704418807\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"float\",\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"aggregation\": \"sum\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666704391944\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"name\": \"Stores\",\n \"alpha\": 100,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"c6286800-53bb-11ed-8662-71d74ec92580\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779851026304, 1507164779851026303, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $65 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"aggregation_locked\": false,\n \"data_type\": \"float\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"cast\": \"float\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779666476926, 1507164779666476925, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $66 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"title\": \"Date with max DAU within a month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"DIMENSION\",\n \"title\": \"Order month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"cast\": \"date\",\n \"type\": \"MEASURE\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": true,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"title\": \"Date with max DAU within a month\",\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"aggregation_locked\": true,\n \"valid\": true,\n \"source\": \"\",\n \"cast\": \"date\",\n \"formula\": \"ARG_MAX(\\r\\n ANY([Order date] INCLUDE [Order date]),\\r\\n COUNTD([Client ID] INCLUDE [Order date])\\r\\n)\",\n \"managed_by\": \"user\",\n \"guid\": \"6cec5530-0fce-11ec-ace1-bd012588f599\",\n \"virtual\": false,\n \"description\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"ARG_MAX(\\r\\n ANY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),\\r\\n COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\\r\\n)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779490316156, 1507164779490316155, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $67 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"title\": \"Средний чек индикатор\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#54A520\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"2db9fdf0-4dc6-11ec-bb4b-cdbbdc67fcf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Средний чек индикатор\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": false,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"guid_formula\": \"if([Средний чек]>2200, CONCAT(\\\"✔️\\\",STR(ROUND([Средний чек]))),CONCAT(\\\"🔻\\\",STR(round([Средний чек])))) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779255435130, 1507164779255435129, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $68 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Avg by category\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bouns\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Plan\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"formula\": \"[Sales]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Avg by category\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Sales]*0.97\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"2ec40a20-257e-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Plan\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Bouns\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee]*0.1\",\n \"formula\": \"[Sales]*0.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Bonus\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Премия\": \"10\",\n \"Bouns\": \"9\"\n },\n \"fieldGuid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Avg by category\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"avg(SUM([Sales] INCLUDE [Product category 1]))\",\n \"guid_formula\": \"avg(SUM([fce88220-0b2e-11ec-bd48-b9e839be43ee] INCLUDE [45bdfbb6-1dd9-41bd-9871-b011efd8ec6b]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Avg\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"План - константа\": \"18\",\n \"Среднее по категориям\": \"18\"\n },\n \"fieldGuid\": \"6ffd3bc0-257d-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164779020554104, 1507164779020554103, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $69 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"pink-gray-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Electronics\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"avatar_id\": null,\n \"type\": \"DIMENSION\",\n \"lock_aggregation\": false,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"YEAR([Order date])\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"Order year\",\n \"hidden\": false,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"category_name_level_1\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Product category 2\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"category_name_level_2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778810838902, 1507164778810838901, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $70 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 1\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778617900915, 1507164778617900916, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $71 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"dataset\": {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Gender\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientStatus\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DayOfBirth\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientAddress\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Clients\",\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"valid\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductSubcategory\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductBrand\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Products\",\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"valid\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopName\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddress\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_Shops\",\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"valid\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_AO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKTMO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"TYPE_MO\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ABBREV\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"NAME_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OKATO_ao\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"coordinates_ao\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_MOSCOW_GEO\",\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"valid\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ClientID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"OrderDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": true,\n \"explicit_timezone\": true,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDatetime\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Discount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"ProductCount\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryAddressCoord\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"PaymentType\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Price\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"FinalSales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictCoordinates\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"DeliveryDistrictName\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts_up\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"MS_SalesFacts_up\",\n \"index_info_set\": null,\n \"parameter_hash\": \"aec3000b81019530\",\n \"valid\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"obligatory_filters\": [],\n \"avatar_relations\": [\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"conditions\": [\n {\n \"type\": \"binary\",\n \"operator\": \"eq\",\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n }\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Число магазинов\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"countd([Магазин])\",\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Месяц заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"Год заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryAddressCoord\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictCoordinates\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"Средний чек\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число заявок\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"OrderID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ID клиента\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Число клиентов\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"countunique\",\n \"type\": \"MEASURE\",\n \"source\": \"ClientID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата заявки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"OrderDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата и время доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"date\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Дата доставки\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"cast\": \"date\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDatetime\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Скидка, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Discount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Среднее число продуктов в заказе\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"ProductCount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - тип\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Тип оплаты\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"PaymentType\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientName\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - пол\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"Gender\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент - статус\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ClientStatus\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Клиент- дата рождения\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DayOfBirth\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - категория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductCategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - подкатегория\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductSubcategory\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт - бренд\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductBrand\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продукт\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductName\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - адрес\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddress\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин (точка)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopAddressCoord\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictCoordinates\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Магазин - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopDistrictName\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ABBREV_AO\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"geopolygon\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - округ (полигон)\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"cast\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"coordinates_ao\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ProductID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ProductID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"ShopID\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"ShopID\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"local\": true,\n \"quickFormula\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ],\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\",\n \"bfad2733-c716-4850-a133-7311a606eed2\": \"\",\n \"93361b28-1af3-499c-895a-74de0cfa0f5c\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"ref_field_ids\": [\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\"\n ]\n },\n {\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ]\n },\n {\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.MS_SalesFacts_up\",\n \"valid\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Clients\",\n \"valid\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Products\",\n \"valid\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_Shops\",\n \"valid\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"virtual\": false,\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"is_root\": false,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"valid\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"e6d627c0-17a5-11ec-b20e-3dc0c6b85667\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"93361b28-1af3-499c-895a-74de0cfa0f5c\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"schema_update_enabled\": true,\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n {\n \"dataset\": {\n \"component_errors\": {\n \"items\": []\n },\n \"sources\": [\n {\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"raw_schema\": [\n {\n \"name\": \"route\",\n \"user_type\": \"string\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"string\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"latitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"longitude\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"distance_km\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"altitude\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"speed_kmh\",\n \"user_type\": \"float\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"float64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"timestamp\",\n \"user_type\": \"datetime\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"name\": \"datetimewithtz\",\n \"nullable\": false,\n \"explicit_timezone\": false,\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"point_num\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false\n },\n {\n \"name\": \"precision\",\n \"user_type\": \"integer\",\n \"description\": \"\",\n \"nullable\": true,\n \"native_type\": {\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"name\": \"int64\",\n \"nullable\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"lock_aggregation\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false\n }\n ],\n \"is_ref\": false,\n \"virtual\": false,\n \"parameters\": {\n \"table_name\": \"run_routes\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"source_type\": \"CH_TABLE\",\n \"managed_by\": \"user\",\n \"ref_source_id\": null,\n \"title\": \"run_routes\",\n \"index_info_set\": null,\n \"parameter_hash\": \"d8a5c4b2ff666c2a\",\n \"valid\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"revision_id\": null,\n \"obligatory_filters\": [],\n \"avatar_relations\": [],\n \"access_mode\": \"direct\",\n \"result_schema\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_5-5\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"mavg([speed_kmh],5,5)\",\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"title\": \"speed_mavg_2-2\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"MAVG([speed_kmh],2,2)\",\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"latitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"latitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"longitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"longitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"distance_km\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"distance_km\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"altitude\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"altitude\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"datetime\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"timestamp\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"cast\": \"datetime\",\n \"initial_data_type\": \"datetime\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"timestamp\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\"\n }\n ],\n \"rls\": {\n \"4c84ecb0-17d7-11ec-b071-594d21764286\": \"\",\n \"370bcb10-17d7-11ec-b071-594d21764286\": \"\",\n \"0a93f940-17d7-11ec-b071-594d21764286\": \"\",\n \"015e0b29-762f-4a41-82c7-5d86fcd0c359\": \"\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\": \"\",\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\": \"\",\n \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\": \"\",\n \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\": \"\",\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\": \"\",\n \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\": \"\",\n \"db35c272-f907-4e80-b54e-d9926e421d48\": \"\",\n \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\": \"\"\n },\n \"source_features\": {},\n \"preview_enabled\": true,\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"dep_field_id\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"270b999e-451f-4bfd-99c3-efb2f65c77b2\"\n ]\n },\n {\n \"dep_field_id\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n },\n {\n \"dep_field_id\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"ref_field_ids\": [\n \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\"\n ]\n }\n ]\n }\n },\n \"source_avatars\": [\n {\n \"virtual\": false,\n \"source_id\": \"02e14d11-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"is_root\": true,\n \"title\": \"samples.run_routes\",\n \"valid\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ]\n },\n \"key\": \"Purchases/Demo Dashboard v2/Карты и геофункции/Маршруты\",\n \"options\": {\n \"supports_scheduled_materialization\": true,\n \"supports_manual_materialization\": true,\n \"join\": {\n \"types\": [\n \"inner\",\n \"full\",\n \"right\",\n \"left\"\n ],\n \"operators\": [\n \"eq\"\n ]\n },\n \"sources\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d11-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"compatible_types\": [\n {\n \"source_type\": \"GP_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GP_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_RANGE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CSV\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CHYT_TABLE_LIST\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"ORACLE_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GSHEETS\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"PG_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MSSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"MYSQL_SUBSELECT\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"GEOCODE_CH_TABLE\",\n \"access_mode\": \"materialized\"\n },\n {\n \"source_type\": \"CH_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_GEO_FILTERED_TABLE\",\n \"access_mode\": \"direct\"\n },\n {\n \"source_type\": \"CH_SUBSELECT\",\n \"access_mode\": \"direct\"\n }\n ]\n },\n \"data_types\": {\n \"items\": [\n {\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ]\n },\n {\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"uuid\",\n \"string\"\n ]\n },\n {\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"casts\": [\n \"markup\"\n ]\n },\n {\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [],\n \"casts\": [\n \"unsupported\"\n ]\n },\n {\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_str\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_int\",\n \"string\"\n ]\n },\n {\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"array_float\",\n \"string\"\n ]\n }\n ]\n },\n \"supports_offset\": true,\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"preview\": {\n \"enabled\": true\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ],\n \"fields\": {\n \"items\": [\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"4c84ecb0-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\"\n ],\n \"guid\": \"370bcb10-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"casts\": [\n \"geopoint\",\n \"string\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"270b999e-451f-4bfd-99c3-efb2f65c77b2\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"58a674e0-b7d7-42e4-a7f7-cbcbfc34b57c\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"d16c8bbf-b6cc-4a1f-ad39-9b79b08bcf59\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"020b9688-ac19-4b06-8ed8-1f87bde4fde9\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"guid\": \"b9acc909-11b4-475e-a462-3b1cf6fae7bd\",\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n }\n ]\n },\n \"connections\": {\n \"items\": [\n {\n \"replacement_types\": [\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n }\n ],\n \"id\": \"jx3p9dgl1fjsa\"\n }\n ],\n \"max\": 1,\n \"compatible_types\": []\n },\n \"schema_update_enabled\": true,\n \"source_avatars\": {\n \"items\": [\n {\n \"schema_update_enabled\": true,\n \"id\": \"02e14d10-17d7-11ec-b071-594d21764286\"\n }\n ],\n \"max\": 32\n }\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"s6czlk5wiwiuj\",\n \"realName\": \"Маршруты\"\n }\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [\n {\n \"title\": \"Доставка - район\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"DeliveryDistrictName\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630510217116\",\n \"datasetName\": \"Продажи\",\n \"filter\": {\n \"value\": [\n \"Кунцево\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"point_num\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"db35c272-f907-4e80-b54e-d9926e421d48\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"point_num\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900814150\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add\",\n \"field\": {\n \"quickFormula\": true,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"originalTitle\": \"Дата заявки\",\n \"originalFormula\": \"\",\n \"grouping\": \"trunc-week\",\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"aggregation\": \"none\",\n \"calc_mode\": \"formula\",\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"fakeTitle\": \"Дата заявки\"\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"datetrunc([Дата заявки], \\\"week\\\")\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"guid\": \"1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"title\": \"title-1e849110-e31a-11e9-b448-d38961e3e00f\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"formula\",\n \"id\": \"inserted-1569803595553\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"format\": \"YYYY-MM-DD\",\n \"grouping\": \"trunc-week\",\n \"local\": true,\n \"fakeTitle\": \"Дата заявки\",\n \"quickFormula\": true,\n \"originalDateCast\": \"date\",\n \"originalSource\": \"OrderDatetime\",\n \"originalTitle\": \"Дата заявки\",\n \"undragable\": false\n }\n },\n {\n \"action\": \"update\",\n \"field\": {\n \"hidden\": false,\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"guid\": \"0c86b9ae-06fe-490c-8419-ab1a477bbd0f\",\n \"managed_by\": \"user\",\n \"source\": \"FinelAmount\",\n \"title\": \"Продажа с учетом скидки, ₽\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"calc_mode\": \"direct\",\n \"id\": \"inserted-1569803886498\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"labelMode\": \"percent\"\n }\n }\n ],\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Доставка (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"DeliveryAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505166942\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"b3c097a0-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Клиенты\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"title\": \"Доставка - район (полигон)\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"calc_mode\": \"direct\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1569874874842\"\n }\n ],\n \"required\": true,\n \"capacity\": null,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"yellow\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Доставка - район\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"DeliveryDistrictName\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-19\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Районы\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"polyline\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": false,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"polyline\",\n \"type\": \"polyline\",\n \"title\": \"section_polyline\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"geopoint\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"title\": \"geopoint\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"GEOPOINT([latitude],[longitude])\",\n \"guid\": \"0a93f940-17d7-11ec-b071-594d21764286\",\n \"cast\": \"geopoint\",\n \"initial_data_type\": \"geopoint\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900884829\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"required\": true,\n \"settings\": {\n \"polylinePoints\": \"off\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": []\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"grouping\",\n \"type\": \"grouping\",\n \"title\": \"section_grouping\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900882793\",\n \"datasetName\": \"Маршруты\"\n }\n ]\n }\n ],\n \"layerSettings\": {\n \"type\": \"polyline\",\n \"id\": \"1847b060-17df-11ec-8410-31ac0377a84c\",\n \"name\": \"Маршрут аудитора\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"data_type\": \"float\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"speed_kmh\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"0efb78a8-3cd6-4509-8edf-6ca7b03743fc\",\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"avg\",\n \"type\": \"MEASURE\",\n \"source\": \"speed_kmh\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900827234\",\n \"datasetName\": \"Маршруты\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"precision\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"9e527f19-0c90-4fd7-ac7d-ebe2ed3f84e5\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"precision\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900801390\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"1\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n },\n {\n \"data_type\": \"string\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"route\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"015e0b29-762f-4a41-82c7-5d86fcd0c359\",\n \"cast\": \"string\",\n \"initial_data_type\": \"string\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"source\": \"route\",\n \"avatar_id\": \"02e14d10-17d7-11ec-b071-594d21764286\",\n \"managed_by\": \"user\",\n \"datasetId\": \"s6czlk5wiwiuj\",\n \"id\": \"inserted-1631900840672\",\n \"datasetName\": \"Маршруты\",\n \"filter\": {\n \"value\": [\n \"Москва\"\n ],\n \"operation\": {\n \"code\": \"IN\"\n }\n }\n }\n ],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": []\n }\n },\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"geopoint\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин (точка)\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddressCoord\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"geopoint\",\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation_locked\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505038662\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Продажа, ₽\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"FinalSales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": true,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Магазин\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopName\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505351027\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"hidden\": false,\n \"cast\": \"string\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Адрес магазина\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"ShopAddress\",\n \"formula\": \"\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1630505344806\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"OrderID\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-6\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число клиентов\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"countunique\",\n \"source\": \"ClientID\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-8\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"title\": \"Продажа, ₽\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"formula\": \"\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"calc_mode\": \"direct\",\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\"\n }\n ]\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"6d6a4e40-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"name\": \"Магазины\",\n \"alpha\": 80,\n \"valid\": true\n }\n }\n ],\n \"selectedLayerId\": \"62c36850-0b2d-11ec-9258-7f48c8ffa5ef\",\n \"placeholders\": [],\n \"hidden\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778198470514, 1507164778198470513, NULL), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $72 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164778013921136, 1507164778013921135, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $73 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Order month\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"autoaggregated\": false,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Sales\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 2\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777820983150, 1507164777820983149, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $74 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"title\": \"MoM, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"title\": \"MoM, % (#)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"AGO 1m\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 20,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"AGO 1m\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, % (#)\",\n \"guid\": \"3c689620-53d5-11ed-806a-656f0b795542\",\n \"formula\": \"([Sales] - [AGO 1m]) /ABS([AGO 1m])\",\n \"guid_formula\": \"([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"MoM, %\",\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"AGO 1m\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"AGO([Sales], [Order month], ''month'', 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"AGO([fce88220-0b2e-11ec-bd48-b9e839be43ee], [848f5000-0eef-11ec-bc14-6de0c4d5d690], ''month'', 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"fd9239e0-0f03-11ec-932f-f1b311656fc9\",\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"string\",\n \"calc_mode\": \"formula\",\n \"aggregation\": \"none\",\n \"formula\": \"IF ([Sales] - [AGO 1m]) /ABS([AGO 1m]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([Sales] - [AGO 1m]) /ABS([AGO 1m])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"source\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"title\": \"MoM, %\",\n \"hidden\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"IF ([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) <0\\r\\nTHEN \\\"▼\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\nELSE \\\"▲+\\\" + STR(ROUND(([fce88220-0b2e-11ec-bd48-b9e839be43ee] - [371411f0-0ee3-11ec-bdbd-dd34801b8ccb]) /ABS([371411f0-0ee3-11ec-bdbd-dd34801b8ccb])*100,1)) + \\\"%\\\"\\r\\n\\r\\nEND\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"62656de0-53d4-11ed-806a-656f0b795542\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"manual\",\n \"leftThreshold\": \"-1\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"red-orange-green\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"3c689620-53d5-11ed-806a-656f0b795542\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777628045164, 1507164777628045163, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $75 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"heatmap\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-heatmap\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"heatmap\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"geopoint\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"geopoint\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5c233910-53bd-11ed-b9a2-4da33cb38250\",\n \"title\": \"Points\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"geopoint\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"heatmap\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Heatmap\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Доставка - район\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"string\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"DeliveryDistrictName\",\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017712920\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Число заявок\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"OrderID\",\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017621635\",\n \"datasetName\": \"Продажи\"\n },\n {\n \"title\": \"Средний чек\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"description\": \"\",\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"cast\": \"float\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631017624549\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"segments\": []\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777443495786, 1507164777443495785, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $76 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"LAG\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order month\",\n \"source\": \"\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1)\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"date\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"avatar_id\": null,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"LAG\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"LAG([Sales], 1)\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"filter\": {\n \"value\": [\n \"3\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777250557799, 1507164777258946408, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $77 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"infciq1c89je7\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"72ed6ed0-17e7-11ec-9e8f-356072e14374\",\n \"title\": \"COUNTS\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"title\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"title\": \"FirstOrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"title\": \"OrderDate\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"user_id\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"hidden\": false,\n \"guid\": \"6cb039f6-05ac-4899-abfa-14bf93ddbdfd\",\n \"has_auto_aggregation\": false,\n \"title\": \"ClientID\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"OrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696\",\n \"has_auto_aggregation\": false,\n \"title\": \"OrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"DIMENSION\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"date\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"4ed1a890-17e7-11ec-9e8f-356072e14374\",\n \"source\": \"FirstOrderDate\",\n \"virtual\": false,\n \"aggregation_locked\": false,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"cast\": \"date\",\n \"hidden\": false,\n \"guid\": \"6fd23eb8-1f52-4df8-a700-7c97675a9ac8\",\n \"has_auto_aggregation\": false,\n \"title\": \"FirstOrderDate\",\n \"datasetId\": \"infciq1c89je7\",\n \"id\": \"dimension-2\",\n \"datasetName\": \"Cohorts\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164777082785638, 1507164777074397029, '{"dataset": "infciq1c89je7"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $78 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Forecast\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"off\",\n \"navigatorMode\": \"hide\",\n \"navigatorSeriesName\": \"\",\n \"pivotFallback\": \"on\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Forecast\": \"Dash\"\n }\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Plan\",\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Forecast\",\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Plan\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"\\r\\n([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"guid_formula\": \"\\r\\n([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))\\r\\n*\\r\\nMAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\")) * 1.1\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"off\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"yes\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"e45d1c70-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"[Продажа, ₽]*1.1\": \"1\",\n \"План\": \"2\"\n },\n \"fieldGuid\": \"a5b41620-34d3-11ed-8f7a-43ed9dcc13de\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n },\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-5\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"c7ea2840-34da-11ed-8f7a-43ed9dcc13de\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Forecast\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([Order date],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([Sales]/MAX(DATEPART([Order date],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [Sales]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"guid_formula\": \"IF [scale] =\\\"month\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"day\\\")))*\\r\\n MAX(DATEPART(DATEADD(DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"month\\\"),\\\"month\\\",1)-1,\\\"day\\\"))\\r\\n\\r\\nELSEIF [scale] =\\\"week\\\" THEN\\r\\n ([fce88220-0b2e-11ec-bd48-b9e839be43ee]/MAX(DATEPART([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],\\\"dayofweek\\\")))*7\\r\\n\\r\\nELSE [fce88220-0b2e-11ec-bd48-b9e839be43ee]\\r\\n\\r\\nEND\\r\\n\\r\\n\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"name\": \"Слой 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"default-palette\",\n \"mountedColors\": {\n \"Продажа, ₽\": \"0\",\n \"План (1)\": \"0\",\n \"Forecast\": \"0\",\n \"Sales\": \"0\"\n },\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ]\n }\n }\n ],\n \"selectedLayerId\": \"c7472090-34d1-11ed-817f-4bf0db94f173\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776889847652, 1507164776889847651, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $79 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"title\": \"Label with brake\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"type\": \"MEASURE\",\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"valid\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"title\": \"Label with brake\",\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"initial_data_type\": \"string\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"has_auto_aggregation\": true,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n },\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Label with brake\",\n \"guid\": \"3e946200-bff4-11ec-b178-bffab9ec1267\",\n \"formula\": \"if([Order month]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"guid_formula\": \"if([848f5000-0eef-11ec-bc14-6de0c4d5d690]=#2019-12-01#, ANY(\\\"Something
important
happend 🔻\\\"), NULL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"type\": \"DIMENSION\",\n \"virtual\": false,\n \"cast\": \"date\",\n \"title\": \"Order month\",\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"has_auto_aggregation\": false,\n \"data_type\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"hidden\": false,\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"guid_formula\": \"\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"manual\",\n \"titleValue\": \"Число продуктов\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776705298274, 1507164776705298273, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $80 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"date\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"title\": \"Avg clients per day\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"date\",\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"date\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"\",\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"description\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"cast\": \"date\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Avg clients per day\",\n \"guid\": \"5ffe0990-0fc9-11ec-ace1-bd012588f599\",\n \"formula\": \"AVG(COUNTD([Client ID] INCLUDE [Order date]))\",\n \"guid_formula\": \"AVG(COUNTD([56bb64a1-d220-416f-9453-5f11e1b84444] INCLUDE [3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776512360287, 1507164776512360288, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $81 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631028043170\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"string\",\n \"calc_mode\": \"direct\",\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"formula\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"lock_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"amount\",\n \"formula\": \"\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776327810909, 1507164776327810910, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $82 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Продажа, ₽\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631645887272\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"title\": \"Продажа, ₽\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": false,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"Price\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1631645945506\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"countunique\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Quantity\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"quantity\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-23\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164776151650140, 1507164776151650139, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $83 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Max in every year Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"source\": \"\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"description\": \"\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Max in every year Label\",\n \"data_type\": \"float\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"cast\": \"float\",\n \"valid\": true,\n \"hidden\": false,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"title\": \"Max in every year Label\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"if (\\r\\n [848f5000-0eef-11ec-bc14-6de0c4d5d690]=\\r\\n FIRST\\r\\n (\\r\\n ANY([848f5000-0eef-11ec-bc14-6de0c4d5d690] INCLUDE [848f5000-0eef-11ec-bc14-6de0c4d5d690]) --convert date dimension into mesure\\r\\n WITHIN YEAR([848f5000-0eef-11ec-bc14-6de0c4d5d690]) -- group by years\\r\\n order by [fce88220-0b2e-11ec-bd48-b9e839be43ee] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [fce88220-0b2e-11ec-bd48-b9e839be43ee]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"formula\": \"if (\\r\\n [Order month]=\\r\\n FIRST\\r\\n (\\r\\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\\r\\n WITHIN YEAR([Order month]) -- group by years\\r\\n order by [Sales] desc -- sort by sales\\r\\n ) -- get month with max sales\\r\\n ,\\r\\n [Sales]-- show sales if it is a max month\\r\\n , NULL) --show nothing otherwise\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"source\": \"\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"title\": \"Order month\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"cast\": \"date\",\n \"valid\": true,\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775967100762, 1507164775967100761, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $84 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 10,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n }\n ],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"245392e0-0fef-11ec-9437-dd572e54e61e\",\n \"title\": \"Products\",\n \"className\": \"item dimension-item\",\n \"type\": \"PSEUDO\",\n \"data_type\": \"hierarchy\",\n \"valid\": true,\n \"fields\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 1\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 2\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_2\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product category 3\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_3\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-31\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Product name\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"model_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-32\",\n \"datasetName\": \"Orders\"\n }\n ]\n },\n {\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"float\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775790939992, 1507164775782551383, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $85 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Neighbourhood Polygon\",\n \"cast\": \"geopolygon\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"geopolygon\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_province_polygon\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521962305\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521964281\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Neighbourhood\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_region_province_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666521968073\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"d056e420-52bf-11ed-b35a-17611f52d7c7\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775572836182, 1507164775564447573, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $86 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"hidden\": false,\n \"aggregation\": \"none\",\n \"aggregation_locked\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"guid\": \"order_buyer_region_name\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"string\",\n \"aggregation_locked\": false,\n \"data_type\": \"string\",\n \"valid\": true,\n \"formula\": \"\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"managed_by\": \"user\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"cast\": \"string\",\n \"hidden\": false,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-28\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"allowedDataTypes\": {},\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"capacity\": null,\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"allowedDataTypes\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775388286804, 1507164775379898195, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $87 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"title\": \"Points\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"layers\": [\n {\n \"id\": \"geopoint\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"allowLabels\": true,\n \"hidden\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopoint\",\n \"type\": \"geopoint\",\n \"title\": \"section_geopoint\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"geopoint\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"geopoint\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"geopoint\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Points\",\n \"guid\": \"930838a0-53bc-11ed-b10d-ab8ebdd66e73\",\n \"formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"guid_formula\": \"GEOPOINT(\\\"[\\\" + SPLIT(SPLIT(STR([Neighbourhood Polygon]),\\\"[\\\",20),\\\"]\\\",1) + \\\"]\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"size\",\n \"type\": \"measures\",\n \"title\": \"section_points_size\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\",\n \"data_type\": \"integer\",\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"lock_aggregation\": false,\n \"source\": \"user_id\",\n \"aggregation\": \"countunique\",\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"description\": \"\",\n \"formula\": \"\",\n \"cast\": \"integer\",\n \"aggregation_locked\": false,\n \"hidden\": false,\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"capacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"settings\": {}\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666630642262\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {\n \"radius\": 4,\n \"minRadius\": 1,\n \"maxRadius\": 3.5\n },\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"segments\": []\n },\n \"layerSettings\": {\n \"type\": \"geopoint\",\n \"id\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"name\": \"Points\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"selectedLayerId\": \"2458a550-0fd6-11ec-a971-dbce164e706e\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775186960210, 1507164775186960209, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $88 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area100p\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"area\",\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164775010799440, 1507164775002410831, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $89 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales as % of TOTAL\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales as % of TOTAL\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n },\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] Total)\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"Sales as % of TOTAL\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1,\n \"units\": null\n },\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] Total)\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n },\n \"showBarsInTotals\": false\n },\n \"backgroundSettings\": {\n \"enabled\": false,\n \"settingsId\": \"2a71c010-536a-11ed-a6bf-83c15c101a58\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"gradientPalette\": \"blue\",\n \"gradientMode\": \"2-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\"\n }\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164774742363981, 1507164774750752590, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $90 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631643553455\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643485118\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-22\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Orders\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"countunique\",\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164774448762700, 1507164774415208267, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $91 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Constant\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"План\": \"ShortDot\",\n \"Константа\": \"ShortDashDotDot\",\n \"Constant\": \"Dash\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"title\": \"Constant\",\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"integer\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"description\": \"\",\n \"hidden\": false,\n \"autoaggregated\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Constant\",\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"lock_aggregation\": false,\n \"formula\": \"any(650000000)\",\n \"guid_formula\": \"any(650000000)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"fakeTitle\": \"Constant\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Константа\": \"18\",\n \"Constant\": \"19\"\n },\n \"fieldGuid\": \"70fe7490-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Constant\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Sales\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164774129995593, 1507164774129995594, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $92 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"s\",\n \"metricFontColor\": \"#BE2443\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Delivered, %\",\n \"cast\": \"float\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"float\",\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": true,\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773886725960, 1507164773886725959, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $93 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"metricFontSize\": \"l\",\n \"metricFontColor\": \"#FFC636\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"metric\",\n \"type\": \"metric\",\n \"name\": \"label_visualization-metric\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": false,\n \"allowSort\": false,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measure\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"countunique\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"cast\": \"integer\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-17\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_metric": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773718953798, 1507164773718953797, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $94 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"LAG WITHIN\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"off\",\n \"feed\": \"\",\n \"pivotFallback\": \"off\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"id\": \"inserted-1666640570174\"\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Region\",\n \"guid\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Platform\",\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_platform\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"amount\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"aggregation\": \"sum\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"LAG WITHIN\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"formula\": \"LAG([Sales], 1 WITHIN [Region])\",\n \"guid_formula\": \"LAG([fce88220-0b2e-11ec-bd48-b9e839be43ee], 1 WITHIN [order_buyer_region_name])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773542793028, 1507164773542793027, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $95 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"Sales\": \"15\",\n \"Moving avg 5 previous\": \"4\",\n \"Moving avg 5 previous and 5 next\": \"1\",\n \"Moving avg 14 previous and 14 next\": \"1\"\n },\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Moving avg 5 previous\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Moving avg 5 previous\": \"Dash\",\n \"Moving avg 5 previous and 5 next\": \"LongDashDot\",\n \"Sales\": \"Solid\"\n }\n },\n \"sort\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"date\",\n \"title\": \"Order date\",\n \"source\": \"order_creation_date\",\n \"direction\": \"ASC\",\n \"type\": \"DIMENSION\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 5 previous\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 5) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date\",\n \"data_type\": \"date\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_creation_date\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-21\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"sum\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-27\",\n \"datasetName\": \"Orders\"\n },\n {\n \"title\": \"Moving avg 5 previous\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": true,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"type\": \"MEASURE\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"mavg([Sales], 5) \",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 5) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"type\": \"MEASURE\",\n \"calc_mode\": \"formula\",\n \"data_type\": \"float\",\n \"description\": \"\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"source\": \"\",\n \"virtual\": false,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"formula\": \"mavg([Sales], 14,14) \",\n \"cast\": \"float\",\n \"hidden\": false,\n \"guid\": \"ec823d60-1888-11ec-9cde-6bd414ed1402\",\n \"has_auto_aggregation\": true,\n \"title\": \"Moving avg 14 previous and 14 next\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-1\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"mavg([fce88220-0b2e-11ec-bd48-b9e839be43ee], 14,14) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773349855042, 1507164773349855041, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $96 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"datalens-neo-20-palette\",\n \"mountedColors\": {\n \"UNKNOWN\": \"15\",\n \"DESKTOP\": \"3\",\n \"MOBILE_BROWSER\": \"14\",\n \"ANDROID\": \"6\",\n \"IOS\": \"2\"\n },\n \"fieldGuid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"coloredByMeasure\": false\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"title\": \"Share Label\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"title\": \"Clients Share\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\",\n \"mode\": \"absolute\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"percent\",\n \"precision\": 0\n }\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"source\": \"user_id\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"216523c0-31ed-11ed-acd1-57895da41aa1\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Clients Share\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"[Clients]/SUM([Clients] TOTAL)\",\n \"guid_formula\": \"[ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350]/SUM([ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350] TOTAL)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"97bd4640-523d-11ed-ae24-5793a298c92e\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Share Label\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"MAX([Platform]) + \\\" \\\" + LEFT(STR([Clients Share]*100),3) + \\\"%\\\"\",\n \"guid_formula\": \"MAX([b76344a2-2cc1-4f65-bb40-f81035853bf2]) + \\\" \\\" + LEFT(STR([216523c0-31ed-11ed-acd1-57895da41aa1]*100),3) + \\\"%\\\"\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Platform\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_platform\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-30\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-19\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {}\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164773123362624, 1507164773123362623, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $97 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"pagination\": \"on\",\n \"limit\": 100\n },\n \"filters\": [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"5\"\n ],\n \"operation\": {\n \"code\": \"LTE\"\n }\n },\n \"type\": \"MEASURE\",\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"RANK([Sales])\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Sales RANK\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"RANK([Sales])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"MEASURE\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"RANK([fce88220-0b2e-11ec-bd48-b9e839be43ee])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Product name\",\n \"data_type\": \"string\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"string\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"model_name\",\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-33\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772947201854, 1507164772947201853, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $98 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": false,\n \"cast\": \"float\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Sales\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"red-orange-green\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Day of week\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"title\": \"Month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"title\": \"Week #\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"title\": \"Day\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"__interval_2020-02-01T00:00:00.000Z_2020-04-01T00:00:00.000Z\"\n ],\n \"operation\": {\n \"code\": \"BETWEEN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"date\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"date\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Month\",\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"string\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"string\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Day of week\",\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"DIMENSION\",\n \"title\": \"Week #\",\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"has_auto_aggregation\": true,\n \"hidden\": false,\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"autoaggregated\": true,\n \"data_type\": \"integer\",\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"aggregation_locked\": true,\n \"cast\": \"integer\",\n \"description\": \"\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"type\": \"MEASURE\",\n \"title\": \"Day\",\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"formula\": \"max(DAY([Order date]))\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"pivotTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-pivot-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"pivot-table-columns\",\n \"type\": \"pivot-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day of week\",\n \"virtual\": false,\n \"formula\": \"CASE(DAYOFWEEK([Order date]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"valid\": true,\n \"cast\": \"string\",\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"hidden\": false,\n \"guid\": \"c720bfa0-8413-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"string\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642623261\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"CASE(DAYOFWEEK([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]),1,\\\"1-Mn\\\",2,\\\"2-Tu\\\",3,\\\"3-We\\\",4,\\\"4-Th\\\",5,\\\"5-Fr\\\",6,\\\"6-Sa\\\",7,\\\"7-Su\\\",\\\"NA\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedDataTypes\": {},\n \"id\": \"rows\",\n \"type\": \"rows\",\n \"title\": \"section_rows\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"DATETRUNC([Order date], \\\"month\\\")\",\n \"description\": \"\",\n \"title\": \"Month\",\n \"source\": \"\",\n \"cast\": \"date\",\n \"initial_data_type\": \"date\",\n \"data_type\": \"date\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"f41d51d0-8413-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642617405\",\n \"datasetName\": \"Orders\",\n \"format\": \"YYYY-MM\",\n \"grouping\": \"none\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"formula\": \"if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date])) \\r\\n--if for the last week in a year\",\n \"description\": \"\",\n \"title\": \"Week #\",\n \"source\": \"\",\n \"cast\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"data_type\": \"integer\",\n \"calc_mode\": \"formula\",\n \"virtual\": false,\n \"guid\": \"7039cf30-8411-11ec-af3b-af8e831847d3\",\n \"aggregation_locked\": true,\n \"hidden\": false,\n \"valid\": true,\n \"managed_by\": \"user\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666642621533\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"if( week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])>51 and MONTH([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])=1, 0, week([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])) \\r\\n--if for the last week in a year\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"source\": \"\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"title\": \"Day\",\n \"virtual\": false,\n \"formula\": \"max(DAY([Order date]))\",\n \"valid\": true,\n \"cast\": \"integer\",\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"guid\": \"01fcdc40-840e-11ec-af3b-af8e831847d3\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-3\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"max(DAY([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7]))\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {}\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772762652476, 1507164772762652475, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $99 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"hide\",\n \"tooltipSum\": \"on\",\n \"totals\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"donut\",\n \"type\": \"pie\",\n \"name\": \"label_visualization-donut\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowLabels\": true,\n \"allowSort\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"dimensions\",\n \"type\": \"dimensions\",\n \"title\": \"section_color\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"measures\",\n \"type\": \"measures\",\n \"title\": \"section_measures\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"integer\",\n \"source\": \"order_id\",\n \"aggregation\": \"countunique\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"integer\",\n \"title\": \"Orders\",\n \"hidden\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-15\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {},\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"pie\",\n \"hidden\": false,\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772569714490, 1507164772569714489, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $100 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"m\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"direction\": \"DESC\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631646716962\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Product category 1\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"category_name_level_1\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-29\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"m\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164772267724600, 1507164772267724599, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $101 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"show\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [\n \"Central\"\n ],\n \"linesMode\": \"selected\",\n \"periodSettings\": {\n \"value\": \"12\",\n \"period\": \"month\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"shapesConfig\": {\n \"mountedShapes\": {\n \"Техника для дома\": \"LongDashDot\",\n \"Central\": \"Solid\",\n \"Jaffa\": \"LongDash\",\n \"North\": \"Dash\",\n \"South\": \"Dot\"\n },\n \"fieldGuid\": \"order_buyer_region_name\"\n },\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"data_type\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"hidden\": false,\n \"aggregation_locked\": false,\n \"valid\": true,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"formula\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"lock_aggregation\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"virtual\": false,\n \"aggregation\": \"sum\",\n \"managed_by\": \"user\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowShapes\": true,\n \"shapesCapacity\": 1,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771974123318, 1507164771974123317, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $102 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631645544892\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"bar\",\n \"type\": \"column\",\n \"name\": \"label_visualization-bar\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Region\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"order_buyer_region_name\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-39\",\n \"datasetName\": \"Orders\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Delivery service\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Sales\",\n \"data_type\": \"float\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": false,\n \"initial_data_type\": \"float\",\n \"autoaggregated\": false,\n \"aggregation\": \"sum\",\n \"source\": \"amount\",\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"lock_aggregation\": false,\n \"cast\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"colorsCapacity\": 1,\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771747630900, 1507164771747630899, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $103 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"dataset\": {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n },\n \"datasets\": [\n {\n \"key\": \"Purchases/Demo Dashboard v2/Продажи\",\n \"dataset\": {\n \"avatar_relations\": [\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ClientID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"5152b711-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"7372d791-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"ShopID\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"join_type\": \"inner\",\n \"id\": \"ccaaced1-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false\n },\n {\n \"left_avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"conditions\": [\n {\n \"left\": {\n \"source\": \"DeliveryDistrictName\",\n \"calc_mode\": \"direct\"\n },\n \"right\": {\n \"source\": \"NAME\",\n \"calc_mode\": \"direct\"\n },\n \"type\": \"binary\",\n \"operator\": \"eq\"\n }\n ],\n \"right_avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"join_type\": \"inner\",\n \"id\": \"f6ce5ad1-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false\n }\n ],\n \"access_mode\": \"direct\",\n \"obligatory_filters\": [],\n \"preview_enabled\": true,\n \"rls\": {\n \"83880dc0-14c4-11ec-8f56-65667f2728f6\": \"\",\n \"848f5000-0eef-11ec-bc14-6de0c4d5d690\": \"\",\n \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\": \"\",\n \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\": \"\",\n \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\": \"\",\n \"a6b94410-e219-11e9-a279-0b30c0a74ab7\": \"\",\n \"52808089-ec9b-41e1-bc7c-697221f5727e\": \"\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\": \"\",\n \"56bb64a1-d220-416f-9453-5f11e1b84444\": \"\",\n \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\": \"\",\n \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\": \"\",\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\": \"\",\n \"cddd9cad-52a2-4232-8898-ade9a972c864\": \"\",\n \"cfe4a4f0-e314-11e9-9730-e7d592294dab\": \"\",\n \"e9f1b908-8748-4433-820c-781d3b12e666\": \"\",\n \"5ab73893-e624-4ac2-b3fd-28f86098388d\": \"\",\n \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\": \"\",\n \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\": \"\",\n \"3d1f627f-54e7-4bda-acca-dcf8974c8887\": \"\",\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\": \"\",\n \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\": \"\",\n \"7b358ff2-adf3-483a-afa5-b45917e0ef11\": \"\",\n \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\": \"\",\n \"87a44c2c-d33e-462e-b5ad-9c5637458173\": \"\",\n \"68b29381-e436-4e3d-b106-1704243115ed\": \"\",\n \"b76344a2-2cc1-4f65-bb40-f81035853bf2\": \"\",\n \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\": \"\",\n \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\": \"\",\n \"0483c778-3a9a-4f65-8168-1beb8818580f\": \"\",\n \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\": \"\",\n \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\": \"\",\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\": \"\",\n \"23ebe688-7831-4d8e-a15c-be9284d31857\": \"\",\n \"01cfd1c6-318f-4799-9969-3952a17c9c95\": \"\",\n \"d7d0f23b-cda4-4acb-8221-c0712c81130e\": \"\",\n \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\": \"\",\n \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\": \"\",\n \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\": \"\"\n },\n \"sources\": [\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"7a8369af0173a49e\",\n \"parameters\": {\n \"table_name\": \"MS_SalesFacts\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"OrderID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OrderID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OrderDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"OrderDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDatetime\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"datetimewithtz\",\n \"explicit_timezone\": false,\n \"nullable\": true,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"timezone_name\": \"Europe/Moscow\",\n \"native_type_class_name\": \"clickhouse_datetimewithtz_native_type\"\n },\n \"title\": \"DeliveryDatetime\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Discount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Discount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCount\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCount\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"PaymentType\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"PaymentType\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Price\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Price\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"FinalSales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"float64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"FinalSales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Sales\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"int64\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Sales\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DeliveryDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DeliveryDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_SalesFacts\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"9c0fc1aae457cc50\",\n \"parameters\": {\n \"table_name\": \"MS_Clients\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ClientID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"Gender\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"Gender\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientStatus\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientStatus\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"DayOfBirth\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"DayOfBirth\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ClientAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ClientAddress\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Clients\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"ff9f52099276ce46\",\n \"parameters\": {\n \"table_name\": \"MS_Products\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ProductID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductCategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductCategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductSubcategory\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductSubcategory\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductBrand\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductBrand\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ProductName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ProductName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Products\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"f4147b305e065c45\",\n \"parameters\": {\n \"table_name\": \"MS_Shops\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ShopID\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopID\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopName\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddress\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddress\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopAddressCoord\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopAddressCoord\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictCoordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictCoordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ShopDistrictName\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ShopDistrictName\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"title\": \"MS_Shops\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n },\n {\n \"is_ref\": false,\n \"valid\": true,\n \"index_info_set\": null,\n \"parameter_hash\": \"dd356f73c3a235bc\",\n \"parameters\": {\n \"table_name\": \"MS_MOSCOW_GEO\",\n \"db_version\": \"21.3.15.4\",\n \"db_name\": \"samples\"\n },\n \"raw_schema\": [\n {\n \"name\": \"ABBREV_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_AO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_AO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKTMO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKTMO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"TYPE_MO\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"TYPE_MO\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"ABBREV\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"ABBREV\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"NAME_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"NAME_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"OKATO_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"OKATO_ao\",\n \"lock_aggregation\": false\n },\n {\n \"name\": \"coordinates_ao\",\n \"nullable\": true,\n \"description\": \"\",\n \"user_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"native_type\": {\n \"name\": \"string\",\n \"nullable\": false,\n \"conn_type\": \"clickhouse\",\n \"lowcardinality\": false,\n \"native_type_class_name\": \"clickhouse_native_type\"\n },\n \"title\": \"coordinates_ao\",\n \"lock_aggregation\": false\n }\n ],\n \"virtual\": false,\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"title\": \"MS_MOSCOW_GEO\",\n \"connection_id\": \"jx3p9dgl1fjsa\",\n \"managed_by\": \"user\",\n \"source_type\": \"CH_TABLE\",\n \"ref_source_id\": null\n }\n ],\n \"source_avatars\": [\n {\n \"is_root\": true,\n \"valid\": true,\n \"title\": \"samples.MS_SalesFacts\",\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Clients\",\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Products\",\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_Shops\",\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"source_id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"virtual\": false\n },\n {\n \"is_root\": false,\n \"valid\": true,\n \"title\": \"samples.MS_MOSCOW_GEO\",\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"source_id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"virtual\": false\n }\n ],\n \"component_errors\": {\n \"items\": []\n },\n \"revision_id\": \"X2VqAKYu27HAqQrvzfLAFN\",\n \"source_features\": {},\n \"result_schema_aux\": {\n \"inter_dependencies\": {\n \"deps\": [\n {\n \"ref_field_ids\": [\n \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\"\n },\n {\n \"ref_field_ids\": [\n \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\"\n ],\n \"dep_field_id\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\"\n },\n {\n \"ref_field_ids\": [\n \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\"\n ],\n \"dep_field_id\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\"\n }\n ]\n }\n },\n \"result_schema\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Число магазинов\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": true,\n \"formula\": \"countd([Магазин])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Месяц заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"formula\": \"Datetrunc([Дата заявки], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Год заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"YEAR([Дата заявки])\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": false,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Доставка (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Средний чек\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"formula\": \"[Продажа, ₽]/[Число заявок]\",\n \"calc_mode\": \"formula\",\n \"autoaggregated\": true,\n \"aggregation_locked\": true,\n \"source\": \"\",\n \"type\": \"MEASURE\",\n \"avatar_id\": null,\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число заявок\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"ID клиента\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Число клиентов\",\n \"aggregation\": \"countunique\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientID\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"datetime\",\n \"valid\": true,\n \"title\": \"Дата и время доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"datetime\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата доставки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Скидка, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Discount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Среднее число продуктов в заказе\",\n \"aggregation\": \"avg\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - тип\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Тип оплаты\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"PaymentType\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Цена продукта, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": true,\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Price\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Продажа, ₽ (без агрегации)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа без учета скидки, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Sales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DeliveryDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - пол\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"Gender\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент - статус\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ClientStatus\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Клиент- дата рождения\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"DayOfBirth\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - категория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductCategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - подкатегория\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductSubcategory\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт - бренд\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductBrand\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Продукт\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ProductName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - адрес\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddress\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopoint\",\n \"valid\": true,\n \"title\": \"Магазин (точка)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopAddressCoord\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopoint\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Магазин - район (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictCoordinates\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Магазин - район\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ShopDistrictName\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"string\",\n \"valid\": true,\n \"title\": \"Доставка - округ\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"ABBREV_AO\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"string\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n {\n \"cast\": \"geopolygon\",\n \"valid\": true,\n \"title\": \"Доставка - округ (полигон)\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"coordinates_ao\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"geopolygon\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n ]\n },\n \"options\": {\n \"supports_manual_materialization\": true,\n \"join\": {\n \"operators\": [\n \"eq\"\n ],\n \"types\": [\n \"left\",\n \"inner\",\n \"full\",\n \"right\"\n ]\n },\n \"supports_scheduled_materialization\": true,\n \"connections\": {\n \"items\": [\n {\n \"id\": \"jx3p9dgl1fjsa\",\n \"replacement_types\": [\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"materialized\"\n },\n {\n \"conn_type\": \"metrika_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"greenplum\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_frozen\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"postgres\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_logs_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"csv\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mssql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"mysql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"clickhouse\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"oracle\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"appmetrica_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_over_yt_user_auth\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"chydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ydb\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_ya_music_podcast_stats\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"statface_report_sql\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"metrika_api\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_geo_filtered\",\n \"access_mode\": \"direct\"\n },\n {\n \"conn_type\": \"ch_billing_analytics\",\n \"access_mode\": \"direct\"\n }\n ]\n }\n ],\n \"compatible_types\": [],\n \"max\": 1\n },\n \"fields\": {\n \"items\": [\n {\n \"guid\": \"83880dc0-14c4-11ec-8f56-65667f2728f6\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"6b585d90-e3c0-11e9-8fd6-9b0ff802f246\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ]\n },\n {\n \"guid\": \"e9f1b908-8748-4433-820c-781d3b12e666\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"3d1f627f-54e7-4bda-acca-dcf8974c8887\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"9056a6c0-0fc3-11ec-b8de-d1fdca37dcc9\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"7b358ff2-adf3-483a-afa5-b45917e0ef11\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ]\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"68b29381-e436-4e3d-b106-1704243115ed\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"831a3ac6-bb48-4967-bc9f-f47b930b81f7\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"f014117e-d37a-4cc1-9e2c-b0af6a019f51\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"23ebe688-7831-4d8e-a15c-be9284d31857\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"01cfd1c6-318f-4799-9969-3952a17c9c95\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d7d0f23b-cda4-4acb-8221-c0712c81130e\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"d9d53baf-6e48-413c-a1f9-84cdd39ac0d5\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"c0ff109a-0eab-4d9b-a6fc-e0498baedb4e\",\n \"aggregations\": [\n \"none\",\n \"count\",\n \"countunique\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n },\n {\n \"guid\": \"17bc26fb-5e6d-4ca4-baa0-265c5f62d65b\",\n \"aggregations\": [\n \"none\",\n \"count\"\n ],\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ]\n }\n ]\n },\n \"compatible_access_modes\": [\n \"direct\",\n \"materialized\"\n ],\n \"source_avatars\": {\n \"items\": [\n {\n \"id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b710-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d790-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced0-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce5ad0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"max\": 32\n },\n \"supports_offset\": true,\n \"preview\": {\n \"enabled\": true\n },\n \"data_types\": {\n \"items\": [\n {\n \"casts\": [\n \"string\",\n \"date\",\n \"datetime\",\n \"boolean\",\n \"integer\",\n \"float\",\n \"geopoint\",\n \"geopolygon\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"string\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"integer\",\n \"float\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"integer\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"float\",\n \"integer\",\n \"string\",\n \"boolean\",\n \"date\",\n \"datetime\"\n ],\n \"aggregations\": [\n \"count\",\n \"sum\",\n \"avg\",\n \"min\",\n \"max\",\n \"countunique\"\n ],\n \"type\": \"float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"date\",\n \"datetime\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"date\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetime\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"boolean\",\n \"integer\",\n \"float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"boolean\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopoint\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopoint\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"geopolygon\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"geopolygon\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"IN\",\n \"NIN\"\n ]\n },\n {\n \"casts\": [\n \"uuid\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"uuid\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"STARTSWITH\",\n \"ISTARTSWITH\",\n \"ENDSWITH\",\n \"IENDSWITH\",\n \"CONTAINS\",\n \"ICONTAINS\",\n \"NOTCONTAINS\",\n \"NOTICONTAINS\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"markup\"\n ],\n \"aggregations\": [\n \"count\"\n ],\n \"type\": \"markup\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"datetimetz\",\n \"datetime\",\n \"date\",\n \"string\",\n \"integer\",\n \"float\",\n \"boolean\"\n ],\n \"aggregations\": [\n \"count\",\n \"min\",\n \"max\",\n \"countunique\",\n \"avg\"\n ],\n \"type\": \"datetimetz\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\",\n \"EQ\",\n \"NE\",\n \"GT\",\n \"GTE\",\n \"LT\",\n \"LTE\",\n \"IN\",\n \"NIN\",\n \"BETWEEN\"\n ]\n },\n {\n \"casts\": [\n \"unsupported\"\n ],\n \"aggregations\": [],\n \"type\": \"unsupported\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_str\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_str\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_int\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_int\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n },\n {\n \"casts\": [\n \"array_float\",\n \"string\"\n ],\n \"aggregations\": [\n \"count\",\n \"countunique\"\n ],\n \"type\": \"array_float\",\n \"filter_operations\": [\n \"ISNULL\",\n \"ISNOTNULL\"\n ]\n }\n ]\n },\n \"schema_update_enabled\": true,\n \"sources\": {\n \"items\": [\n {\n \"id\": \"33810c51-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"5152b712-e1e0-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"7372d792-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"ccaaced2-e1e4-11e9-a279-0b30c0a74ab7\",\n \"schema_update_enabled\": true\n },\n {\n \"id\": \"f6ce81e0-0b2f-11ec-b2d0-bdb8fc35f924\",\n \"schema_update_enabled\": true\n }\n ],\n \"compatible_types\": [\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GP_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEOCODE_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"METRIKA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MYSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"ORACLE_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"APPMETRICA_LOGS_API_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_RANGE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POINTS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"MSSQL_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GEO_POLYGONS_DICT_CH_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"PG_SUBSELECT\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CSV\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CHYT_TABLE_LIST\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"GSHEETS\"\n },\n {\n \"access_mode\": \"materialized\",\n \"source_type\": \"CH_SUBSELECT\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_YA_MUSIC_PODCAST_STATS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_BILLING_ANALYTICS_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_GEO_FILTERED_TABLE\"\n },\n {\n \"access_mode\": \"direct\",\n \"source_type\": \"CH_SUBSELECT\"\n }\n ]\n },\n \"supported_functions\": [\n \"abs\",\n \"acos\",\n \"ago\",\n \"all_concat\",\n \"any\",\n \"arg_max\",\n \"arg_min\",\n \"ascii\",\n \"asin\",\n \"at_date\",\n \"atan\",\n \"atan2\",\n \"avg\",\n \"avg_if\",\n \"bold\",\n \"bool\",\n \"case\",\n \"ceiling\",\n \"char\",\n \"concat\",\n \"contains\",\n \"cos\",\n \"cot\",\n \"count\",\n \"count_if\",\n \"countd\",\n \"countd_approx\",\n \"countd_if\",\n \"date\",\n \"date_parse\",\n \"dateadd\",\n \"datepart\",\n \"datetime\",\n \"datetime_parse\",\n \"datetrunc\",\n \"day\",\n \"dayofweek\",\n \"db_cast\",\n \"degrees\",\n \"div\",\n \"endswith\",\n \"exp\",\n \"find\",\n \"first\",\n \"float\",\n \"floor\",\n \"geopoint\",\n \"geopolygon\",\n \"greatest\",\n \"hour\",\n \"icontains\",\n \"iendswith\",\n \"if\",\n \"ifnan\",\n \"ifnull\",\n \"iif\",\n \"int\",\n \"isnan\",\n \"isnull\",\n \"istartswith\",\n \"italic\",\n \"lag\",\n \"last\",\n \"least\",\n \"left\",\n \"len\",\n \"ln\",\n \"log\",\n \"log10\",\n \"lower\",\n \"ltrim\",\n \"markup\",\n \"mavg\",\n \"max\",\n \"mcount\",\n \"median\",\n \"min\",\n \"minute\",\n \"mmax\",\n \"mmin\",\n \"month\",\n \"msum\",\n \"now\",\n \"pi\",\n \"power\",\n \"quantile\",\n \"quantile_approx\",\n \"quarter\",\n \"radians\",\n \"rank\",\n \"rank_dense\",\n \"rank_percentile\",\n \"rank_unique\",\n \"ravg\",\n \"rcount\",\n \"regexp_extract\",\n \"regexp_extract_nth\",\n \"regexp_match\",\n \"regexp_replace\",\n \"replace\",\n \"right\",\n \"rmax\",\n \"rmin\",\n \"round\",\n \"rsum\",\n \"rtrim\",\n \"second\",\n \"sign\",\n \"sin\",\n \"space\",\n \"split\",\n \"sqrt\",\n \"square\",\n \"startswith\",\n \"stdev\",\n \"stdevp\",\n \"str\",\n \"substr\",\n \"sum\",\n \"sum_if\",\n \"tan\",\n \"today\",\n \"top_concat\",\n \"trim\",\n \"upper\",\n \"url\",\n \"utf8\",\n \"var\",\n \"varp\",\n \"week\",\n \"year\",\n \"zn\"\n ]\n },\n \"is_favorite\": false,\n \"ds_mode\": \"DIRECT\",\n \"id\": \"qvnkqz8s0wdqf\",\n \"realName\": \"Продажи\"\n }\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"colorsCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"date\",\n \"valid\": true,\n \"title\": \"Дата заявки\",\n \"aggregation\": \"none\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"datetime\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"OrderDatetime\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"date\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"cast\": \"integer\",\n \"valid\": true,\n \"title\": \"Продажа, ₽\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"FinalSales\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1631650892682\",\n \"datasetName\": \"Продажи\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false\n },\n \"convert\": false\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771303034674, 1507164771294646065, NULL), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $104 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"scaleru\",\n \"title\": \"scaleru\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-EUR\",\n \"title\": \"RUB-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"RUB-USD\",\n \"title\": \"RUB-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"cast\": \"float\",\n \"valid\": true,\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"formula\": \"\",\n \"calc_mode\": \"direct\",\n \"autoaggregated\": false,\n \"aggregation_locked\": false,\n \"source\": \"amount\",\n \"type\": \"MEASURE\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"data_type\": \"float\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"percent\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631647315729\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column100p\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column-100p\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\",\n \"percent\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Order month\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"date\",\n \"valid\": true,\n \"data_type\": \"date\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"date\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-10\",\n \"datasetName\": \"Orders\",\n \"format\": \"DD.MM.YYYY\",\n \"grouping\": \"none\"\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"highchartsId\": \"column\",\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164771118485296, 1507164771110096687, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $105 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"title\": \"Undelivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"title\": \"Measure Values\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item measure-item\",\n \"data_type\": \"float\",\n \"id\": \"inserted-1631644188445\",\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Clients\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"integer\",\n \"valid\": true,\n \"data_type\": \"integer\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"countunique\",\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"user_id\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"guid\": \"59eb09c0-52b4-11ed-8f5b-635c6e708c7c\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Undelivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"1-[Delivered, %]\",\n \"guid_formula\": \"1-[a6b94410-e219-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Delivered, %\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true,\n \"shapesCapacity\": 2\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770850049838, 1507164770850049837, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $106 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"data_type\": \"date\",\n \"aggregation_locked\": true,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"date\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-3\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770648723244, 1507164770648723243, '{"dataset": "qvnkqz8s0wdqf"}'); +INSERT INTO public.revisions (data, meta, created_by, created_at, updated_by, updated_at, rev_id, entry_id, links) VALUES + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $107 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"on\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"default_value\": \"Категория\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"cast\": \"string\",\n \"type\": \"DIMENSION\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"hidden\": false,\n \"guid\": \"2bb9afa0-d877-11ec-a7ba-499b88c6567b\",\n \"title\": \"Dimension\",\n \"virtual\": false,\n \"managed_by\": \"user\",\n \"data_type\": \"string\",\n \"type\": \"DIMENSION\",\n \"cast\": \"string\",\n \"formula\": \"CASE([dimension],\\n ''Region'', [Region],\\n ''Neighbourhood'',[Neighbourhood],\\n ''Population group'',[Population group],\\n null)\",\n \"guid_formula\": \"CASE([dimension],\\n ''Region'', [order_buyer_region_name],\\n ''Neighbourhood'',[4664cc4f-6a50-44cc-8dfb-b76fc814a159],\\n ''Population group'',[order_buyer_region_population_group],\\n null)\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-1\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"virtual\": false,\n \"hidden\": false,\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"description\": \"\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"managed_by\": \"user\",\n \"guid\": \"0b36fbb0-53a7-11ed-aea2-4d244d0eccb4\",\n \"title\": \"Metric\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"cast\": \"integer\",\n \"type\": \"MEASURE\",\n \"guid_formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"formula\": \"\\r\\nIF [metric]= \\\"sales\\\" THEN INT(SUM([amount]))\\r\\nELSEIF [metric]=\\\"quantity\\\" THEN SUM([quantity])\\r\\nEND\\r\\n\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770464173866, 1507164770464173865, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $108 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"title\": \"\",\n \"titleMode\": \"show\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Plan\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"DIMENSION\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"2a9b0bd0-257c-11ed-acc7-5f5b9f8ecd1b\",\n \"title\": \"Bonus\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"virtual\": false,\n \"description\": \"\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"managed_by\": \"user\",\n \"hidden\": false,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"cast\": \"float\",\n \"lock_aggregation\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"formula\": \"[quantity]/10\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"quickFormula\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"combined-chart\",\n \"highchartsId\": \"column\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-combined-chart\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Quantity\",\n \"cast\": \"integer\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"MEASURE\",\n \"data_type\": \"integer\",\n \"initial_data_type\": \"integer\",\n \"valid\": true,\n \"aggregation\": \"sum\",\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"quantity\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"column\",\n \"id\": \"3dbce1e0-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 2\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"title\": \"Delivery service\",\n \"cast\": \"string\",\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"string\",\n \"initial_data_type\": \"string\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-26\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"colorsConfig\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n },\n {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowSegments\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 1,\n \"shapesCapacity\": 1,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"aggregation_locked\": true,\n \"cast\": \"float\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"guid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"has_auto_aggregation\": true,\n \"valid\": true,\n \"autoaggregated\": true,\n \"virtual\": false,\n \"hidden\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"title\": \"Plan\",\n \"type\": \"MEASURE\",\n \"aggregation\": \"none\",\n \"guid_formula\": \"[5ab73893-e624-4ac2-b3fd-28f86098388d]*0.97\",\n \"formula\": \"[Quantity]*0.97\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-2\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"план\": \"12\",\n \"План\": \"12\",\n \"Plan\": \"18\"\n },\n \"fieldGuid\": \"e465ad60-257a-11ed-acc7-5f5b9f8ecd1b\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": []\n },\n \"layerSettings\": {\n \"type\": \"line\",\n \"id\": \"ab0e3920-2579-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 1\",\n \"alpha\": 80,\n \"valid\": true\n }\n },\n {\n \"id\": \"area\",\n \"type\": \"line\",\n \"name\": \"label_visualization-area\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowSegments\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"title\": \"Order month\",\n \"cast\": \"date\",\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"type\": \"DIMENSION\",\n \"data_type\": \"date\",\n \"initial_data_type\": \"date\",\n \"valid\": true,\n \"aggregation\": \"none\",\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"virtual\": false,\n \"hidden\": false,\n \"has_auto_aggregation\": false,\n \"guid_formula\": \"Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \\\"month\\\")\",\n \"formula\": \"Datetrunc([Order date], \\\"month\\\")\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-13\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-14\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"local\": true,\n \"quickFormula\": true,\n \"guid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"source\": \"\",\n \"data_type\": \"float\",\n \"cast\": \"float\",\n \"title\": \"title-534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"originalTitle\": \"Bonus\",\n \"fakeTitle\": \"Bonus\",\n \"aggregation\": \"sum\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"calc_mode\": \"formula\",\n \"formula\": \"[quantity]/10\",\n \"id\": \"measure-0\",\n \"hidden\": false,\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"lock_aggregation\": false,\n \"valid\": true,\n \"virtual\": false,\n \"guid_formula\": \"[quantity]/10\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetName\": \"Orders\"\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"as-0\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"layerSettings\": {\n \"type\": \"area\",\n \"id\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"name\": \"Layer 3\",\n \"alpha\": 80,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [],\n \"colorsConfig\": {\n \"polygonBorders\": \"show\",\n \"palette\": \"neutral20-palette\",\n \"mountedColors\": {\n \"Скидка, ₽\": \"6\",\n \"Bonus\": \"3\"\n },\n \"fieldGuid\": \"534b0940-52b8-11ed-aadd-d92f22137a83\",\n \"coloredByMeasure\": true\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [],\n \"shapes\": [],\n \"shapesConfig\": {}\n }\n }\n ],\n \"selectedLayerId\": \"ac1229b0-257b-11ed-acc7-5f5b9f8ecd1b\",\n \"placeholders\": [],\n \"hidden\": false,\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770254458664, 1507164770254458663, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $109 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "table": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [],\n \"colorsConfig\": {\n \"gradientMode\": \"2-point\",\n \"gradientPalette\": \"gray\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"title\": \"Products\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"pagination\": \"off\",\n \"limit\": 100,\n \"totals\": \"off\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [\n {\n \"guid\": \"category_name_level_1\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"filter\": {\n \"value\": [\n \"Appliances\",\n \"Auto\",\n \"Books\",\n \"Equipment\",\n \"Leisure and entertainment\",\n \"Pet Products\",\n \"Products\",\n \"Sports and activities\"\n ],\n \"operation\": {\n \"code\": \"NIN\"\n }\n },\n \"type\": \"DIMENSION\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n }\n ],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"source\": \"amount\",\n \"type\": \"MEASURE\"\n }\n ],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Products\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"tree_str\",\n \"valid\": true,\n \"data_type\": \"tree_str\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"flatTable\",\n \"type\": \"table\",\n \"name\": \"label_visualization-flat-table\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"id\": \"flat-table-columns\",\n \"type\": \"flat-table-columns\",\n \"title\": \"section_columns\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"data_type\": \"tree_str\",\n \"title\": \"Products\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"tree_str\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"3865f3a0-31e9-11ed-95c5-871bd80fd6c4\",\n \"aggregation_locked\": true,\n \"autoaggregated\": false,\n \"type\": \"DIMENSION\",\n \"has_auto_aggregation\": false,\n \"cast\": \"tree_str\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"TREE(ARRAY([45bdfbb6-1dd9-41bd-9871-b011efd8ec6b],[0483c778-3a9a-4f65-8168-1beb8818580f],[9fe8a3e7-b30a-49be-b75a-b54b96e87adc],[b9e8f031-bbc8-4f35-ab4e-59d89208185a]))\",\n \"formula\": \"TREE(ARRAY([Product category 1],[Product category 2],[Product category 3],[Product name]))\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-0\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {\n \"width\": {\n \"mode\": \"auto\",\n \"value\": \"500\"\n }\n }\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Sales\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"columnSettings\": {}\n },\n {\n \"aggregation_locked\": true,\n \"aggregation\": \"avg\",\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"lock_aggregation\": false,\n \"valid\": true,\n \"description\": \"\",\n \"virtual\": false,\n \"hidden\": false,\n \"title\": \"Shipping time\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"initial_data_type\": \"float\",\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"cast\": \"float\",\n \"guid_formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864]- [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\\r\\nELSE NULL\\r\\nEND\",\n \"formula\": \"IF [order_order_status]=\\\"DELIVERED\\\"\\r\\nTHEN [Delivery date and time]- [Order date and time]\\r\\nELSE NULL\\r\\nEND\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-5\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"cast\": \"float\",\n \"managed_by\": \"user\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-14\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": null,\n \"labelMode\": \"absolute\",\n \"precision\": 1\n },\n \"barsSettings\": {\n \"enabled\": false,\n \"colorSettings\": {\n \"colorType\": \"two-color\",\n \"settings\": {\n \"palette\": \"default-palette\",\n \"positiveColor\": \"#8AD554\",\n \"negativeColor\": \"#FF3D64\"\n }\n },\n \"showLabels\": true,\n \"align\": \"default\",\n \"scale\": {\n \"mode\": \"auto\"\n }\n },\n \"fakeTitle\": \"\",\n \"backgroundSettings\": {\n \"enabled\": true,\n \"settingsId\": \"0b594020-523b-11ed-97a2-297ae2ad8641\",\n \"settings\": {\n \"gradientState\": {\n \"thresholdsMode\": \"auto\",\n \"leftThreshold\": \"0\",\n \"middleThreshold\": \"0\",\n \"rightThreshold\": \"1\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"gradientMode\": \"3-point\",\n \"reversed\": false\n },\n \"paletteState\": {},\n \"isContinuous\": true\n },\n \"colorFieldGuid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\"\n },\n \"columnSettings\": {}\n },\n {\n \"data_type\": \"integer\",\n \"title\": \"Clients\",\n \"valid\": true,\n \"description\": \"\",\n \"aggregation\": \"countunique\",\n \"lock_aggregation\": false,\n \"initial_data_type\": \"integer\",\n \"hidden\": false,\n \"virtual\": false,\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"user_id\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-18\",\n \"datasetName\": \"Orders\",\n \"columnSettings\": {}\n }\n ],\n \"required\": true,\n \"settings\": {\n \"groupping\": \"on\"\n }\n }\n ],\n \"allowLayerFilters\": false\n }\n}"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164770061520678, 1507164770061520677, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $110 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"title\": \"Moving Average\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"navigatorMode\": \"hide\",\n \"isNavigatorAvailable\": true,\n \"selectedLines\": [],\n \"linesMode\": \"all\",\n \"periodSettings\": {\n \"value\": \"1\",\n \"period\": \"day\",\n \"type\": \"date\"\n }\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [\n {\n \"title\": \"Measure Names\",\n \"type\": \"PSEUDO\",\n \"className\": \"item pseudo-item dimension-item\",\n \"data_type\": \"string\"\n }\n ],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"string\",\n \"guid\": \"scale\",\n \"initial_data_type\": \"string\",\n \"data_type\": \"string\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": false,\n \"aggregation\": \"none\",\n \"autoaggregated\": false,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"scale\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"DIMENSION\",\n \"default_value\": \"week\",\n \"calc_mode\": \"parameter\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"source\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"deleteUpdateAfterValidation\": false\n },\n {\n \"action\": \"add_field\",\n \"field\": {\n \"hidden\": false,\n \"cast\": \"float\",\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"initial_data_type\": \"float\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"has_auto_aggregation\": true,\n \"aggregation\": \"none\",\n \"autoaggregated\": true,\n \"description\": \"\",\n \"valid\": true,\n \"virtual\": false,\n \"title\": \"Moving Average\",\n \"managed_by\": \"user\",\n \"lock_aggregation\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"line\",\n \"type\": \"line\",\n \"name\": \"label_visualization-line\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"allowShapes\": true,\n \"colorsCapacity\": 2,\n \"shapesCapacity\": 2,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"initial_data_type\": \"date\",\n \"title\": \"Order date (scale)\",\n \"type\": \"DIMENSION\",\n \"autoaggregated\": false,\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"managed_by\": \"user\",\n \"data_type\": \"date\",\n \"hidden\": false,\n \"cast\": \"date\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"virtual\": false,\n \"guid_formula\": \"DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])\",\n \"formula\": \"DATETRUNC([Order date],[scale])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-4\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"capacity\": 1,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Sales\",\n \"aggregation\": \"sum\",\n \"has_auto_aggregation\": false,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": false,\n \"autoaggregated\": false,\n \"data_type\": \"float\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"amount\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n },\n {\n \"guid\": \"25b2ad10-d876-11ec-a7ba-499b88c6567b\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"lock_aggregation\": false,\n \"managed_by\": \"user\",\n \"title\": \"Moving Average\",\n \"aggregation\": \"none\",\n \"has_auto_aggregation\": true,\n \"virtual\": false,\n \"description\": \"\",\n \"initial_data_type\": \"float\",\n \"cast\": \"float\",\n \"valid\": true,\n \"aggregation_locked\": true,\n \"autoaggregated\": true,\n \"data_type\": \"float\",\n \"formula\": \"MAVG([Sales], [mavg-value])\",\n \"guid_formula\": \"MAVG([fce88220-0b2e-11ec-bd48-b9e839be43ee], [mavg-value])\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y2\",\n \"type\": \"y2\",\n \"title\": \"section_y2\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769633701666, 1507164769633701665, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $111 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"description\": \"\",\n \"cast\": \"string\",\n \"source\": \"order_delivery_attribute_delivery_service_name\",\n \"aggregation\": \"none\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"string\",\n \"title\": \"Delivery service\",\n \"hidden\": false,\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"type\": \"DIMENSION\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-23\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"id\": \"inserted-1630664734061\",\n \"datasetName\": \"Продажи\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"hide\"\n }\n },\n {\n \"action\": \"update_field\",\n \"field\": {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"id\": \"inserted-1631643392603\",\n \"datasetName\": \"Продажи\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n }\n }\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"title\": \"Order year\",\n \"data_type\": \"integer\",\n \"managed_by\": \"user\",\n \"virtual\": false,\n \"has_auto_aggregation\": false,\n \"aggregation_locked\": true,\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"aggregation\": \"none\",\n \"source\": \"\",\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"type\": \"DIMENSION\",\n \"avatar_id\": null,\n \"valid\": true,\n \"hidden\": false,\n \"description\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"calc_mode\": \"formula\",\n \"lock_aggregation\": false,\n \"cast\": \"integer\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-11\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"description\": \"\",\n \"cast\": \"float\",\n \"source\": \"amount\",\n \"aggregation\": \"sum\",\n \"formula\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"managed_by\": \"user\",\n \"calc_mode\": \"direct\",\n \"initial_data_type\": \"float\",\n \"title\": \"Sales\",\n \"hidden\": false,\n \"data_type\": \"float\",\n \"aggregation_locked\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"type\": \"MEASURE\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-25\",\n \"datasetName\": \"Orders\",\n \"labelMode\": \"absolute\",\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"units\": null,\n \"precision\": 0,\n \"unit\": \"auto\"\n },\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"local\": true\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"auto\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"colorsCapacity\": 2,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769407209248, 1507164769407209247, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $112 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {},\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"type\": \"datalens\",\n \"updates\": [],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"geolayer\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geolayer\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"layers\": [\n {\n \"id\": \"geopolygon\",\n \"type\": \"geo\",\n \"name\": \"label_visualization-geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowTooltips\": true,\n \"allowColors\": true,\n \"allowFilters\": true,\n \"allowLayerFilters\": true,\n \"hidden\": true,\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"geopolygon\",\n \"type\": \"geopolygon\",\n \"title\": \"section_geopolygon\",\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"items\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood Polygon\",\n \"data_type\": \"geopolygon\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"geopolygon\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\"\n }\n ],\n \"required\": true,\n \"settings\": {}\n }\n ],\n \"layerSettings\": {\n \"type\": \"geopolygon\",\n \"id\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"name\": \"Layer 1\",\n \"alpha\": 100,\n \"valid\": true\n },\n \"commonPlaceholders\": {\n \"colors\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-13\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"colorsConfig\": {\n \"gradientMode\": \"3-point\",\n \"gradientPalette\": \"orange-gray-blue\",\n \"polygonBorders\": \"show\",\n \"reversed\": false,\n \"thresholdsMode\": \"auto\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"sort\": [],\n \"labels\": [],\n \"tooltips\": [\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"order_buyer_region_name\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Region\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_buyer_region_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464616229\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": false,\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"autoaggregated\": false,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"string\",\n \"title\": \"Neighbourhood\",\n \"data_type\": \"string\",\n \"aggregation_locked\": false,\n \"type\": \"DIMENSION\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"string\",\n \"virtual\": false,\n \"description\": \"\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"source\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464621207\",\n \"datasetName\": \"Orders\"\n },\n {\n \"valid\": true,\n \"has_auto_aggregation\": true,\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": true,\n \"lock_aggregation\": false,\n \"hidden\": false,\n \"initial_data_type\": \"float\",\n \"title\": \"Delivered, %\",\n \"data_type\": \"float\",\n \"aggregation_locked\": true,\n \"type\": \"MEASURE\",\n \"managed_by\": \"user\",\n \"aggregation\": \"none\",\n \"cast\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[Order ID],NULL)) / [Orders]\",\n \"guid_formula\": \"COUNTD(IF([order_order_status]=\\\"DELIVERED\\\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]\",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666464699010\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Sales\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"sum\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"source\": \"amount\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"inserted-1666614125091\",\n \"datasetName\": \"Orders\",\n \"hideLabelMode\": \"show\",\n \"formatting\": {\n \"format\": \"number\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"unit\": \"auto\",\n \"labelMode\": \"absolute\",\n \"precision\": 1\n }\n }\n ],\n \"segments\": []\n }\n }\n ],\n \"selectedLayerId\": \"7dc06e10-5239-11ed-8130-a7ac13333610\",\n \"placeholders\": [],\n \"allowLayerFilters\": false\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164769197494046, 1507164769197494045, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"js": "\nconst {buildGraph} = require(''libs/datalens/v3'');\n\nconst result = buildGraph({\n apiVersion: ''2'',\n data: ChartEditor.getLoadedData(),\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor,\n});\n\n// your code here\n\nmodule.exports = result;\n", "ui": "\nconst {buildUI} = require(''libs/datalens/v3'');\n\nif (buildUI) {\n const result = buildUI({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n}\n", "url": "\nconst {buildSources} = require(''libs/datalens/v3'');\n\nconst result = buildSources({\n apiVersion: ''2'',\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "graph": "\nconst {buildHighchartsConfig, buildLibraryConfig} = require(''libs/datalens/v3'');\n\nconst buildFn = typeof buildLibraryConfig === ''function'' $113 buildLibraryConfig : buildHighchartsConfig;\n\nconst result = buildFn({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n", "params": "\nconst {buildParams} = require(''libs/datalens/v3'');\n\nif (buildParams) {\n const result = buildParams({\n shared: ChartEditor.getSharedData(),\n ChartEditor\n });\n \n // your code here\n\n module.exports = result;\n} else {\n // your code here\n \n module.exports = {};\n}\n", "shared": "{\n \"colors\": [\n {\n \"guid\": \"order_buyer_region_name\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"Region\",\n \"autoaggregated\": false,\n \"managed_by\": \"user\",\n \"cast\": \"string\",\n \"valid\": true,\n \"data_type\": \"string\",\n \"has_auto_aggregation\": false,\n \"description\": \"\",\n \"aggregation_locked\": false,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"string\",\n \"hidden\": false,\n \"type\": \"DIMENSION\",\n \"source\": \"order_buyer_region_name\",\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"calc_mode\": \"direct\",\n \"formula\": \"\",\n \"guid_formula\": \"\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-40\",\n \"datasetName\": \"Orders\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"colorsConfig\": {},\n \"datasetsIds\": [\n \"qvnkqz8s0wdqf\"\n ],\n \"datasetsPartialFields\": [\n [\n {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"title\": \"% of TOTAL by years\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"metric\",\n \"title\": \"metric\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-USD\",\n \"title\": \"ILS-USD\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ILS-EUR\",\n \"title\": \"ILS-EUR\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"4ba1cd00-34ea-11ed-8623-bd85e3266c4f\",\n \"title\": \"Order date (scale)\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"f24e7f30-34e1-11ed-af5f-633861cdac17\",\n \"title\": \"Shipping time\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"mavg-value\",\n \"title\": \"mavg-value\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"dimension\",\n \"title\": \"dimension\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"currency\",\n \"title\": \"currency\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"ago-period\",\n \"title\": \"ago-period\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"scale\",\n \"title\": \"scale\",\n \"calc_mode\": \"parameter\"\n },\n {\n \"guid\": \"848f5000-0eef-11ec-bc14-6de0c4d5d690\",\n \"title\": \"Order month\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"960c06a0-e3bf-11e9-9ba9-493ddd35c259\",\n \"title\": \"Neighbourhood Polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"a6b94410-e219-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Delivered, %\",\n \"calc_mode\": \"formula\"\n },\n {\n \"guid\": \"52808089-ec9b-41e1-bc7c-697221f5727e\",\n \"title\": \"Order ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"c81b1fa0-e207-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Orders\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"56bb64a1-d220-416f-9453-5f11e1b84444\",\n \"title\": \"Client ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350\",\n \"title\": \"Clients\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"60ed95e3-8c1e-4003-9d93-817e20dca1c2\",\n \"title\": \"Order date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7\",\n \"title\": \"Order date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cddd9cad-52a2-4232-8898-ade9a972c864\",\n \"title\": \"Delivery date and time\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"cfe4a4f0-e314-11e9-9730-e7d592294dab\",\n \"title\": \"Delivery date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"5ab73893-e624-4ac2-b3fd-28f86098388d\",\n \"title\": \"Quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"08ce262b-34ec-4123-b5cc-1c0ecac39f70\",\n \"title\": \"Delivery service\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"38e0b1f4-d46b-48a0-8905-6a6d1e61900d\",\n \"title\": \"Payment type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"title\": \"Sales\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"4664cc4f-6a50-44cc-8dfb-b76fc814a159\",\n \"title\": \"Neighbourhood\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"87a44c2c-d33e-462e-b5ad-9c5637458173\",\n \"title\": \"User ID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b76344a2-2cc1-4f65-bb40-f81035853bf2\",\n \"title\": \"Platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b\",\n \"title\": \"Product category 1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"0483c778-3a9a-4f65-8168-1beb8818580f\",\n \"title\": \"Product category 2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"9fe8a3e7-b30a-49be-b75a-b54b96e87adc\",\n \"title\": \"Product category 3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"b9e8f031-bbc8-4f35-ab4e-59d89208185a\",\n \"title\": \"Product name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"bfad2733-c716-4850-a133-7311a606eed2\",\n \"title\": \"ProductID\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"amount\",\n \"title\": \"amount\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1\",\n \"title\": \"category_name_level_1\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_2\",\n \"title\": \"category_name_level_2\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_3\",\n \"title\": \"category_name_level_3\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"model_name\",\n \"title\": \"model_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_name\",\n \"title\": \"Region\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_population_group\",\n \"title\": \"Population group\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_name\",\n \"title\": \"order_buyer_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_buyer_region_province_polygon\",\n \"title\": \"order_buyer_region_province_polygon\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_creation_date\",\n \"title\": \"order_creation_date\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_attribute_delivery_se\",\n \"title\": \"order_delivery_attribute_delivery_service_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_datetime\",\n \"title\": \"order_delivery_datetime\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_delivery_region_province_name\",\n \"title\": \"order_delivery_region_province_name\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_id\",\n \"title\": \"order_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_multiorder_order_count\",\n \"title\": \"order_multiorder_order_count\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_order_status\",\n \"title\": \"order_order_status\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_method\",\n \"title\": \"order_payment_method\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_payment_type\",\n \"title\": \"order_payment_type\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"order_platform\",\n \"title\": \"order_platform\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"quantity\",\n \"title\": \"quantity\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"sku_is_seasonal_flag\",\n \"title\": \"sku_is_seasonal_flag\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"user_id\",\n \"title\": \"user_id\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"category_name_level_1_1\",\n \"title\": \"category_name_level_1 (1)\",\n \"calc_mode\": \"direct\"\n },\n {\n \"guid\": \"manager\",\n \"title\": \"manager\",\n \"calc_mode\": \"direct\"\n }\n ]\n ],\n \"extraSettings\": {\n \"titleMode\": \"hide\",\n \"title\": \"\",\n \"legendMode\": \"show\",\n \"tooltipSum\": \"on\",\n \"feed\": \"\",\n \"navigatorSettings\": {\n \"isNavigatorAvailable\": false,\n \"selectedLines\": []\n },\n \"overlap\": \"off\"\n },\n \"filters\": [],\n \"geopointsConfig\": {},\n \"hierarchies\": [],\n \"labels\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"formula\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": true,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"\",\n \"aggregation_locked\": true,\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"aggregation\": \"none\",\n \"lock_aggregation\": false,\n \"autoaggregated\": true,\n \"title\": \"% of TOTAL by years\",\n \"valid\": true,\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-0\",\n \"datasetName\": \"Orders\",\n \"formatting\": {\n \"format\": \"percent\",\n \"showRankDelimiter\": true,\n \"prefix\": \"\",\n \"postfix\": \"\",\n \"labelMode\": \"absolute\",\n \"precision\": 0,\n \"units\": null\n },\n \"dateMode\": \"continuous\",\n \"hideLabelMode\": \"show\",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null,\n \"mode\": \"absolute\"\n }\n ],\n \"links\": [],\n \"segments\": [],\n \"shapes\": [],\n \"shapesConfig\": {},\n \"sort\": [],\n \"tooltips\": [],\n \"type\": \"datalens\",\n \"updates\": [\n {\n \"action\": \"add_field\",\n \"field\": {\n \"guid\": \"371411f0-0ee3-11ec-bdbd-dd34801b8ccb\",\n \"lock_aggregation\": false,\n \"virtual\": false,\n \"title\": \"% of TOTAL by years\",\n \"autoaggregated\": true,\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"valid\": true,\n \"data_type\": \"float\",\n \"has_auto_aggregation\": true,\n \"description\": \"\",\n \"aggregation_locked\": true,\n \"aggregation\": \"none\",\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"type\": \"MEASURE\",\n \"formula\": \"[Sales] / sum([Sales] WITHIN [Order year]) \",\n \"guid_formula\": \"[fce88220-0b2e-11ec-bd48-b9e839be43ee] / sum([fce88220-0b2e-11ec-bd48-b9e839be43ee] WITHIN [9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2]) \",\n \"calc_mode\": \"formula\",\n \"source\": \"\",\n \"local\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\"\n },\n \"debug_info\": \"merged-update\"\n }\n ],\n \"version\": \"4\",\n \"visualization\": {\n \"id\": \"column\",\n \"type\": \"column\",\n \"name\": \"label_visualization-column\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"allowFilters\": true,\n \"allowColors\": true,\n \"allowSort\": true,\n \"allowLabels\": true,\n \"availableLabelModes\": [\n \"absolute\"\n ],\n \"placeholders\": [\n {\n \"allowedTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"x\",\n \"type\": \"x\",\n \"title\": \"section_x\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"hidden\": false,\n \"cast\": \"integer\",\n \"managed_by\": \"user\",\n \"description\": \"\",\n \"virtual\": false,\n \"title\": \"Order year\",\n \"calc_mode\": \"formula\",\n \"has_auto_aggregation\": false,\n \"valid\": true,\n \"source\": \"\",\n \"formula\": \"YEAR([Order date])\",\n \"lock_aggregation\": false,\n \"aggregation\": \"none\",\n \"type\": \"DIMENSION\",\n \"initial_data_type\": \"integer\",\n \"autoaggregated\": false,\n \"data_type\": \"integer\",\n \"aggregation_locked\": true,\n \"guid\": \"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2\",\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"dimension-12\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])\",\n \"avatar_id\": null,\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"required\": false,\n \"capacity\": 2,\n \"settings\": {\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"holidays\": \"off\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n },\n {\n \"allowedTypes\": {},\n \"allowedFinalTypes\": {},\n \"allowedDataTypes\": {},\n \"id\": \"y\",\n \"type\": \"y\",\n \"title\": \"section_y\",\n \"icon\": {\n \"key\": null,\n \"ref\": null,\n \"props\": {\n \"width\": \"24\"\n },\n \"_owner\": null\n },\n \"items\": [\n {\n \"initial_data_type\": \"float\",\n \"hidden\": false,\n \"guid\": \"fce88220-0b2e-11ec-bd48-b9e839be43ee\",\n \"managed_by\": \"user\",\n \"cast\": \"float\",\n \"calc_mode\": \"direct\",\n \"type\": \"MEASURE\",\n \"has_auto_aggregation\": false,\n \"data_type\": \"float\",\n \"virtual\": false,\n \"description\": \"\",\n \"source\": \"amount\",\n \"aggregation_locked\": false,\n \"formula\": \"\",\n \"aggregation\": \"sum\",\n \"lock_aggregation\": false,\n \"avatar_id\": \"33810c50-e1e0-11e9-a279-0b30c0a74ab7\",\n \"autoaggregated\": false,\n \"title\": \"Sales\",\n \"valid\": true,\n \"datasetId\": \"qvnkqz8s0wdqf\",\n \"id\": \"measure-26\",\n \"datasetName\": \"Orders\",\n \"guid_formula\": \"\",\n \"default_value\": null,\n \"value_constraint\": null\n }\n ],\n \"settings\": {\n \"scale\": \"auto\",\n \"scaleValue\": \"min-max\",\n \"title\": \"off\",\n \"titleValue\": \"\",\n \"type\": \"linear\",\n \"grid\": \"on\",\n \"gridStep\": \"auto\",\n \"gridStepValue\": 50,\n \"hideLabels\": \"no\",\n \"labelsView\": \"auto\",\n \"nulls\": \"ignore\",\n \"axisFormatMode\": \"auto\"\n },\n \"iconProps\": {\n \"width\": \"24\"\n }\n }\n ],\n \"allowLayerFilters\": false,\n \"iconProps\": {\n \"width\": \"24\"\n },\n \"allowSegments\": true\n }\n}", "statface_graph": "\nconst {buildChartsConfig} = require(''libs/datalens/v3'');\n\nconst result = buildChartsConfig({\n shared: ChartEditor.getSharedData(),\n params: ChartEditor.getParams(),\n ChartEditor\n});\n\n// your code here\n\nmodule.exports = result;\n"}', '{}', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 'uid:systemId', '2023-09-11 08:47:20.751846+00', 1507164768249581338, 1507164768249581337, '{"dataset": "qvnkqz8s0wdqf"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "RXK", "data": {"tabs": [{"id": "VbB", "title": "Reference line", "params": {}, "chartId": "x2urx8e5by90m", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "k0e", "data": {"text": "In some cases, it is convenient to use a combined diagram for the same type of layers. In this example, on one layer we break down sales by region, and on the second layer we enter reference line with a constant."}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "RXK", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 48}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 61}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "k0e", "w": 19, "x": 17, "y": 35}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "G7g", "data": {"tabs": [{"id": "d1Q", "title": "Title 1", "params": {}, "chartId": "05xu0fmnbe0up", "isDefault": true, "autoHeight": false, "description": "`if([Delivered, %]>0.65, CONCAT(\"✔️\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\"🔻\",STR(round([Delivered, %]*100,1)))) + \"%\"`"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "L9R", "data": {"tabs": [{"id": "jOL", "title": "Title 1", "params": {}, "chartId": "ch96co0501xy1", "isDefault": true, "autoHeight": false, "description": "You can add custom labels with line brakes `if([Order month]=#2020-01-01#, ANY(\"Something
import
happened🔻\"), NULL)`\n"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 18, "i": "G7g", "w": 14, "x": 22, "y": 58}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 18, "i": "L9R", "w": 22, "x": 0, "y": 58}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "7eX", "data": {"size": "m", "text": "Label max value for each year", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AOP", "data": {"tabs": [{"id": "NJB", "title": "Title 1", "params": {}, "chartId": "05xu0cbm5lr6p", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "MYZ", "data": {"text": "Add calculated filed \n```sql\nif (\n [Order month]=\n FIRST\n (\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\n WITHIN YEAR([Order month]) -- group by years\n order by [Sales] desc -- sort by sales\n ) -- get month with max sales\n ,\n [Sales]-- show sales if it is a max month\n , NULL) --show nothing otherwise\n```"}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 84}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 82}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 84}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 147}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 102}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 100}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 149}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 102}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 149}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 116}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 118}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 118}, {"h": 2, "i": "7eX", "w": 36, "x": 0, "y": 133}, {"h": 12, "i": "AOP", "w": 16, "x": 0, "y": 135}, {"h": 12, "i": "MYZ", "w": 20, "x": 16, "y": 135}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 44}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 46}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 46}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 59}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 80}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 55}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 80}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 77}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-09-21 16:42:04.230151+00', 'uid:systemId', '2023-09-21 16:42:04.230151+00', 1514651459633808403, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0cbm5lr6p": "05xu0cbm5lr6p", "05xu0e1so1o6p": "05xu0e1so1o6p", "05xu0fmnbe0up": "05xu0fmnbe0up", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96co0501xy1": "ch96co0501xy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urx8e5by90m": "x2urx8e5by90m", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"host": "pg-demo-connection", "name": null, "port": 5432, "ssl_ca": null, "db_name": "demo", "username": "demo", "ssl_enable": false, "table_name": null, "cache_ttl_sec": null, "raw_sql_level": "dashsql", "enforce_collate": "auto", "sample_table_name": null, "data_export_forbidden": false}', '{"state": "saved"}', 'uid:systemId', '2023-11-24 13:37:22.834126+00', 'uid:systemId', '2023-11-24 13:37:22.834126+00', 1560944148247217154, 1560944148196885505, '{}'), + ('{"rls": [], "name": null, "revision_id": "BeWwy9NZUSQBmp6cVuarpb", "result_schema": [{"cast": "string", "guid": "metric", "type": "DIMENSION", "title": "metric", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "sales"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-USD", "type": "DIMENSION", "title": "ILS-USD", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.25}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "float", "guid": "ILS-EUR", "type": "DIMENSION", "title": "ILS-EUR", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "float", "value": 0.27}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "type": "DIMENSION", "title": "Order date (scale)", "valid": true, "hidden": false, "source": "", "formula": "DATETRUNC([Order date],[scale])", "avatar_id": null, "calc_mode": "formula", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "DATETRUNC([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7],[scale])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "float", "guid": "f24e7f30-34e1-11ed-af5f-633861cdac17", "type": "MEASURE", "title": "Shipping time", "valid": true, "hidden": false, "source": "", "formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [Delivery date and time] - [Order date and time]\r\nELSE NULL\r\nEND", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "avg", "description": "", "guid_formula": "IF [order_order_status]=\"DELIVERED\"\r\nTHEN [cddd9cad-52a2-4232-8898-ade9a972c864] - [60ed95e3-8c1e-4003-9d93-817e20dca1c2]\r\nELSE NULL\r\nEND", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "integer", "guid": "mavg-value", "type": "DIMENSION", "title": "mavg-value", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 7}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "dimension", "type": "DIMENSION", "title": "dimension", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "Region"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "currency", "type": "DIMENSION", "title": "currency", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "ILS"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "ago-period", "type": "DIMENSION", "title": "ago-period", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "integer", "value": 1}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "scale", "type": "DIMENSION", "title": "scale", "valid": true, "hidden": false, "source": "", "formula": "", "avatar_id": null, "calc_mode": "parameter", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": {"type": "string", "value": "month"}, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "type": "DIMENSION", "title": "Order month", "valid": true, "hidden": false, "source": "", "formula": "Datetrunc([Order date], \"month\")", "avatar_id": null, "calc_mode": "formula", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "Datetrunc([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7], \"month\")", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "type": "DIMENSION", "title": "Order year", "valid": true, "hidden": false, "source": "", "formula": "YEAR([Order date])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "YEAR([3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "geopolygon", "guid": "960c06a0-e3bf-11e9-9ba9-493ddd35c259", "type": "DIMENSION", "title": "Neighbourhood Polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "geopolygon", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Delivered, %", "valid": true, "hidden": false, "source": "", "formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[Order ID],NULL)) / [Orders]", "avatar_id": null, "calc_mode": "formula", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD(IF([order_order_status]=\"DELIVERED\",[52808089-ec9b-41e1-bc7c-697221f5727e],NULL)) / [c81b1fa0-e207-11e9-a279-0b30c0a74ab7]", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": true}, {"cast": "string", "guid": "52808089-ec9b-41e1-bc7c-697221f5727e", "type": "DIMENSION", "title": "Order ID", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "type": "MEASURE", "title": "Orders", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "56bb64a1-d220-416f-9453-5f11e1b84444", "type": "DIMENSION", "title": "Client ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "ebfc90c0-e31f-11e9-b6c9-fbe8a8ac5350", "type": "MEASURE", "title": "Clients", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "countunique", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "type": "DIMENSION", "title": "Order date and time", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "type": "DIMENSION", "title": "Order date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cddd9cad-52a2-4232-8898-ade9a972c864", "type": "DIMENSION", "title": "Delivery date and time", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "cfe4a4f0-e314-11e9-9730-e7d592294dab", "type": "DIMENSION", "title": "Delivery date", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "integer", "guid": "5ab73893-e624-4ac2-b3fd-28f86098388d", "type": "MEASURE", "title": "Quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "08ce262b-34ec-4123-b5cc-1c0ecac39f70", "type": "DIMENSION", "title": "Delivery service", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "38e0b1f4-d46b-48a0-8905-6a6d1e61900d", "type": "DIMENSION", "title": "Payment type", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "fce88220-0b2e-11ec-bd48-b9e839be43ee", "type": "MEASURE", "title": "Sales", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "sum", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "type": "DIMENSION", "title": "Neighbourhood", "valid": true, "hidden": false, "source": "", "formula": "''Afeka''", "avatar_id": null, "calc_mode": "formula", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "''Afeka''", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "87a44c2c-d33e-462e-b5ad-9c5637458173", "type": "DIMENSION", "title": "User ID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "type": "DIMENSION", "title": "Platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "type": "DIMENSION", "title": "Product category 1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "0483c778-3a9a-4f65-8168-1beb8818580f", "type": "DIMENSION", "title": "Product category 2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "9fe8a3e7-b30a-49be-b75a-b54b96e87adc", "type": "DIMENSION", "title": "Product category 3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "b9e8f031-bbc8-4f35-ab4e-59d89208185a", "type": "DIMENSION", "title": "Product name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "bfad2733-c716-4850-a133-7311a606eed2", "type": "DIMENSION", "title": "ProductID", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "float", "guid": "amount", "type": "DIMENSION", "title": "amount", "valid": true, "hidden": false, "source": "amount", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "float", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "float", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1", "type": "DIMENSION", "title": "category_name_level_1", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_2", "type": "DIMENSION", "title": "category_name_level_2", "valid": true, "hidden": false, "source": "category_name_level_2", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_3", "type": "DIMENSION", "title": "category_name_level_3", "valid": true, "hidden": false, "source": "category_name_level_3", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "model_name", "type": "DIMENSION", "title": "model_name", "valid": true, "hidden": false, "source": "model_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_name", "type": "DIMENSION", "title": "Region", "valid": true, "hidden": false, "source": "order_buyer_region_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_population_group", "type": "DIMENSION", "title": "Population group", "valid": true, "hidden": false, "source": "order_buyer_region_population_group", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_name", "type": "DIMENSION", "title": "order_buyer_region_province_name", "valid": true, "hidden": false, "source": "", "formula": "''Afeka''", "avatar_id": null, "calc_mode": "formula", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "''Afeka''", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_buyer_region_province_polygon", "type": "DIMENSION", "title": "order_buyer_region_province_polygon", "valid": true, "hidden": false, "source": "order_buyer_region_province_polygon", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_creation_date", "type": "DIMENSION", "title": "order_creation_date", "valid": true, "hidden": false, "source": "order_creation_date", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_attribute_delivery_se", "type": "DIMENSION", "title": "order_delivery_attribute_delivery_service_name", "valid": true, "hidden": false, "source": "order_delivery_attribute_delivery_service_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "order_delivery_datetime", "type": "DIMENSION", "title": "order_delivery_datetime", "valid": true, "hidden": false, "source": "order_delivery_datetime", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_delivery_region_province_name", "type": "DIMENSION", "title": "order_delivery_region_province_name", "valid": true, "hidden": false, "source": "order_delivery_region_province_name", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_id", "type": "DIMENSION", "title": "order_id", "valid": true, "hidden": false, "source": "order_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "order_multiorder_order_count", "type": "DIMENSION", "title": "order_multiorder_order_count", "valid": true, "hidden": false, "source": "order_multiorder_order_count", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_order_status", "type": "DIMENSION", "title": "order_order_status", "valid": true, "hidden": false, "source": "order_order_status", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_method", "type": "DIMENSION", "title": "order_payment_method", "valid": true, "hidden": false, "source": "order_payment_method", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_payment_type", "type": "DIMENSION", "title": "order_payment_type", "valid": true, "hidden": false, "source": "order_payment_type", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "integer", "guid": "quantity", "type": "DIMENSION", "title": "quantity", "valid": true, "hidden": false, "source": "quantity", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": false}, {"cast": "boolean", "guid": "sku_is_seasonal_flag", "type": "DIMENSION", "title": "sku_is_seasonal_flag", "valid": true, "hidden": false, "source": "sku_is_seasonal_flag", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "boolean", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "boolean", "has_auto_aggregation": false}, {"cast": "string", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "category_name_level_1_1", "type": "DIMENSION", "title": "category_name_level_1 (1)", "valid": true, "hidden": false, "source": "category_name_level_1", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "manager", "type": "DIMENSION", "title": "manager", "valid": true, "hidden": false, "source": "manager", "formula": "", "avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}], "source_avatars": [{"id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "title": "opensource-demo.orders", "valid": true, "is_root": true, "source_id": "a8eb19e0-8ace-11ee-affd-8fdf6cc2041c", "managed_by": "user"}, {"id": "e90effb0-5365-11ed-a72f-1901cbf3c62a", "title": "opensource-demo.managers", "valid": true, "is_root": false, "source_id": "af0301d0-8ace-11ee-affd-8fdf6cc2041c", "managed_by": "user"}], "avatar_relations": [{"id": "e90effb1-5365-11ed-a72f-1901cbf3c62a", "valid": true, "join_type": "inner", "conditions": [{"operator": "eq", "left_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "right_part": {"source": "category_name_level_1", "calc_mode": "direct"}, "condition_type": "binary"}], "managed_by": "user", "left_avatar_id": "33810c50-e1e0-11e9-a279-0b30c0a74ab7", "right_avatar_id": "e90effb0-5365-11ed-a72f-1901cbf3c62a"}], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "a6b94410-e219-11e9-a279-0b30c0a74ab7", "ref_field_ids": ["c81b1fa0-e207-11e9-a279-0b30c0a74ab7", "52808089-ec9b-41e1-bc7c-697221f5727e", "order_order_status"]}, {"dep_field_id": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "848f5000-0eef-11ec-bc14-6de0c4d5d690", "ref_field_ids": ["3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}, {"dep_field_id": "f24e7f30-34e1-11ed-af5f-633861cdac17", "ref_field_ids": ["cddd9cad-52a2-4232-8898-ade9a972c864", "60ed95e3-8c1e-4003-9d93-817e20dca1c2", "order_order_status"]}, {"dep_field_id": "4ba1cd00-34ea-11ed-8623-bd85e3266c4f", "ref_field_ids": ["scale", "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "a8eb19e0-8ace-11ee-affd-8fdf6cc2041c", "type": "collection", "title": "orders", "valid": true, "origin": {"parameters": {"db_version": "PostgreSQL 13.12 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit", "table_name": "orders", "schema_name": "opensource-demo"}, "raw_schema": [{"name": "amount", "type": "float", "title": "amount", "nullable": false, "description": "", "native_type": {"name": "numeric", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_2", "type": "string", "title": "category_name_level_2", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "category_name_level_3", "type": "string", "title": "category_name_level_3", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "model_name", "type": "string", "title": "model_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_name", "type": "string", "title": "order_buyer_region_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_population_group", "type": "string", "title": "order_buyer_region_population_group", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_region_province_name", "type": "string", "title": "order_delivery_region_province_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_buyer_region_province_polygon", "type": "string", "title": "order_buyer_region_province_polygon", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_creation_date", "type": "genericdatetime", "title": "order_creation_date", "nullable": false, "description": "", "native_type": {"name": "timestamp", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_attribute_delivery_service_name", "type": "string", "title": "order_delivery_attribute_delivery_service_name", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_delivery_datetime", "type": "genericdatetime", "title": "order_delivery_datetime", "nullable": false, "description": "", "native_type": {"name": "timestamp", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_id", "type": "string", "title": "order_id", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_multiorder_order_count", "type": "integer", "title": "order_multiorder_order_count", "nullable": false, "description": "", "native_type": {"name": "integer", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_order_status", "type": "string", "title": "order_order_status", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_method", "type": "string", "title": "order_payment_method", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_payment_type", "type": "string", "title": "order_payment_type", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "quantity", "type": "integer", "title": "quantity", "nullable": false, "description": "", "native_type": {"name": "integer", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "sku_is_seasonal_flag", "type": "boolean", "title": "sku_is_seasonal_flag", "nullable": false, "description": "", "native_type": {"name": "boolean", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "user_id", "type": "string", "title": "user_id", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "PG_TABLE", "connection_id": "gz2tnvb9zdxm5"}, "sample": null, "managed_by": "user", "materialization": null}, {"id": "af0301d0-8ace-11ee-affd-8fdf6cc2041c", "type": "collection", "title": "managers", "valid": true, "origin": {"parameters": {"db_version": "PostgreSQL 13.12 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit", "table_name": "managers", "schema_name": "opensource-demo"}, "raw_schema": [{"name": "category_name_level_1", "type": "string", "title": "category_name_level_1", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "manager", "type": "string", "title": "manager", "nullable": false, "description": "", "native_type": {"name": "text", "nullable": false, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "PG_TABLE", "connection_id": "gz2tnvb9zdxm5"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-11-24 13:38:26.860465+00', 'uid:systemId', '2023-11-24 13:38:26.860465+00', 1560944685353010180, 1507164769826639651, '{"a8eb19e0-8ace-11ee-affd-8fdf6cc2041c": "gz2tnvb9zdxm5", "af0301d0-8ace-11ee-affd-8fdf6cc2041c": "gz2tnvb9zdxm5"}'), + ('{"rls": [], "name": "", "revision_id": "BRVWVUFANdG9aaRJKL53KE", "result_schema": [{"cast": "integer", "guid": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "type": "MEASURE", "title": "COUNTS", "valid": true, "hidden": false, "source": "", "formula": "COUNTD([ClientID])", "avatar_id": null, "calc_mode": "formula", "data_type": "integer", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "COUNTD([6cb039f6-05ac-4899-abfa-14bf93ddbdfd])", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "integer", "has_auto_aggregation": true}, {"cast": "string", "guid": "6cb039f6-05ac-4899-abfa-14bf93ddbdfd", "type": "DIMENSION", "title": "ClientID", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "user_id", "type": "DIMENSION", "title": "user_id", "valid": true, "hidden": false, "source": "user_id", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "string", "guid": "order_platform", "type": "DIMENSION", "title": "order_platform", "valid": true, "hidden": false, "source": "order_platform", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "string", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "string", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "type": "DIMENSION", "title": "FirstOrderDate", "valid": true, "hidden": false, "source": "FirstOrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}, {"cast": "genericdatetime", "guid": "7c6a8ac0-7474-4eb0-aeb6-b2e1ac5a5696", "type": "DIMENSION", "title": "OrderDate", "valid": true, "hidden": false, "source": "OrderDate", "formula": "", "avatar_id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "calc_mode": "direct", "data_type": "genericdatetime", "managed_by": "user", "aggregation": "none", "description": "", "guid_formula": "", "default_value": null, "lock_aggregation": false, "value_constraint": null, "initial_data_type": "genericdatetime", "has_auto_aggregation": false}], "source_avatars": [{"id": "c221e500-14c8-11ee-8d76-3b5eb2be9b3d", "title": "Custom SQL", "valid": true, "is_root": true, "source_id": "56eb3842-5302-11ee-85f5-aba80832f682", "managed_by": "user"}], "avatar_relations": [], "component_errors": {"items": []}, "result_schema_aux": {"inter_dependencies": {"deps": [{"dep_field_id": "72ed6ed0-17e7-11ec-9e8f-356072e14374", "ref_field_ids": ["6cb039f6-05ac-4899-abfa-14bf93ddbdfd"]}]}}, "obligatory_filters": [], "source_collections": [{"id": "56eb3842-5302-11ee-85f5-aba80832f682", "type": "collection", "title": "Custom SQL", "valid": true, "origin": {"parameters": {"subsql": "SELECT\n t1.user_id,\n t1.order_platform,\n date_trunc(''day'', t2.FirstDate) as \"FirstOrderDate\",\n date_trunc(''day'', t1.order_creation_date) as \"OrderDate\"\nFROM\n \"opensource-demo\".orders as t1,\n (SELECT\n user_id,\n MIN(order_creation_date) as FirstDate\n FROM \"opensource-demo\".orders\n GROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id"}, "raw_schema": [{"name": "user_id", "type": "string", "title": "user_id", "nullable": true, "description": "", "native_type": {"name": "text", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "order_platform", "type": "string", "title": "order_platform", "nullable": true, "description": "", "native_type": {"name": "text", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "FirstOrderDate", "type": "genericdatetime", "title": "FirstOrderDate", "nullable": true, "description": "", "native_type": {"name": "timestamp", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}, {"name": "OrderDate", "type": "genericdatetime", "title": "OrderDate", "nullable": true, "description": "", "native_type": {"name": "timestamp", "nullable": true, "conn_type": "postgres", "native_type_class_name": "common_native_type"}, "lock_aggregation": false, "has_auto_aggregation": false}], "created_from": "PG_SUBSELECT", "connection_id": "gz2tnvb9zdxm5"}, "sample": null, "managed_by": "user", "materialization": null}]}', '{"geocoding_enabled": 0}', 'uid:systemId', '2023-11-24 13:39:02.195971+00', 'uid:systemId', '2023-11-24 13:39:02.195971+00', 1560944981118551046, 1507164767695933207, '{"56eb3842-5302-11ee-85f5-aba80832f682": "gz2tnvb9zdxm5"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 48}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "G7g", "data": {"tabs": [{"id": "d1Q", "title": "Title 1", "params": {}, "chartId": "05xu0fmnbe0up", "isDefault": true, "autoHeight": false, "description": "`if([Delivered, %]>0.65, CONCAT(\"✔️\",STR(ROUND([Delivered, %]*100,1))),CONCAT(\"🔻\",STR(round([Delivered, %]*100,1)))) + \"%\"`"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "L9R", "data": {"tabs": [{"id": "jOL", "title": "Title 1", "params": {}, "chartId": "ch96co0501xy1", "isDefault": true, "autoHeight": false, "description": "You can add custom labels with line brakes `if([Order month]=#2020-01-01#, ANY(\"Something
import
happened🔻\"), NULL)`\n"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 18, "i": "G7g", "w": 14, "x": 22, "y": 58}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 18, "i": "L9R", "w": 22, "x": 0, "y": 58}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "7eX", "data": {"size": "m", "text": "Label max value for each year", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AOP", "data": {"tabs": [{"id": "NJB", "title": "Title 1", "params": {}, "chartId": "05xu0cbm5lr6p", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "MYZ", "data": {"text": "Add calculated filed \n```sql\nif (\n [Order month]=\n FIRST\n (\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\n WITHIN YEAR([Order month]) -- group by years\n order by [Sales] desc -- sort by sales\n ) -- get month with max sales\n ,\n [Sales]-- show sales if it is a max month\n , NULL) --show nothing otherwise\n```"}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 84}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 82}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 84}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 147}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 102}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 100}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 149}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 102}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 149}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 116}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 118}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 118}, {"h": 2, "i": "7eX", "w": 36, "x": 0, "y": 133}, {"h": 12, "i": "AOP", "w": 16, "x": 0, "y": 135}, {"h": 12, "i": "MYZ", "w": 20, "x": 16, "y": 135}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 44}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 46}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 46}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 59}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 80}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 55}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 80}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 77}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 13:44:19.323509+00', 'uid:systemId', '2023-11-24 13:44:19.323509+00', 1560947643134247945, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0cbm5lr6p": "05xu0cbm5lr6p", "05xu0e1so1o6p": "05xu0e1so1o6p", "05xu0fmnbe0up": "05xu0fmnbe0up", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96co0501xy1": "ch96co0501xy1", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 48}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "7eX", "data": {"size": "m", "text": "Label max value for each year", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AOP", "data": {"tabs": [{"id": "NJB", "title": "Title 1", "params": {}, "chartId": "05xu0cbm5lr6p", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "MYZ", "data": {"text": "Add calculated filed \n```sql\nif (\n [Order month]=\n FIRST\n (\n ANY([Order month] INCLUDE [Order month]) --convert date dimension into mesure\n WITHIN YEAR([Order month]) -- group by years\n order by [Sales] desc -- sort by sales\n ) -- get month with max sales\n ,\n [Sales]-- show sales if it is a max month\n , NULL) --show nothing otherwise\n```"}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 84}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 82}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 84}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 147}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 102}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 100}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 149}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 102}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 149}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 116}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 118}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 118}, {"h": 2, "i": "7eX", "w": 36, "x": 0, "y": 133}, {"h": 12, "i": "AOP", "w": 16, "x": 0, "y": 135}, {"h": 12, "i": "MYZ", "w": 20, "x": 16, "y": 135}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 44}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 46}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 46}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 59}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 80}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 55}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 80}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 77}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 13:44:43.626344+00', 'uid:systemId', '2023-11-24 13:44:43.626344+00', 1560947846314722315, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0cbm5lr6p": "05xu0cbm5lr6p", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 48}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 83}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 81}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 83}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 144}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 101}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 99}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 146}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 101}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 146}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 115}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 117}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 117}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "251", "data": {"size": "l", "text": "Double aggregation using ARG_MAX", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "zkn", "data": {"tabs": [{"id": "yRR", "title": "INCLUDE", "params": {}, "chartId": "uzrou8sqm5zaj", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "De2", "data": {"text": "Calculated field\n\n```SQL\nARG_MAX(\nANY([Application date] INCLUDE [Application date]), -- list of days (turning the dimension into an measure)\nCOUNT([Client ID] INCLUDE [Application date]) -- DAU for each day\n)\n```\n\n* A list of dates that correspond to the maximum value from the second argument.\n Add the dimension `[Date]` to the grouping and turn this dimension into an indicator: \\`ANY(\\[Date\\] INCLUDE \\[Date\\])''.\n\n* A list of values from which the maximum value will be selected."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 2, "i": "251", "w": 36, "x": 0, "y": 44}, {"h": 18, "i": "zkn", "w": 19, "x": 0, "y": 46}, {"h": 18, "i": "De2", "w": 17, "x": 19, "y": 46}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 59}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 80}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 55}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 80}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 77}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 13:46:05.763867+00', 'uid:systemId', '2023-11-24 13:46:05.763867+00', 1560948535497589773, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "uzrou8sqm5zaj": "uzrou8sqm5zaj", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 48}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 83}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 81}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 83}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 144}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 101}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 99}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 146}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 101}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 146}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 115}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 117}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 117}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT \n\tt1.user_id,\n\tt1.order_platform, \n\ttoDate(date_trunc(''day'', t2.FirstDate)) as FirstOrderDate, \n\ttoDate(date_trunc(''day'', t1.order_creation_date)) as OrderDate\nFROM\n\tsamples.orders t1,\n\t(SELECT \n\t\tuser_id, \n\t\tMIN(order_creation_date) as FirstDate\n\tFROM samples.orders\n\tGROUP BY user_id) as t2\nWHERE t1.user_id =t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 59}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 80}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 55}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 80}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 77}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 13:46:35.581516+00', 'uid:systemId', '2023-11-24 13:46:35.581516+00', 1560948785150952463, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 48}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 83}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 81}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 83}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 144}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 101}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 99}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 146}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 101}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 146}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 115}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 117}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 117}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT\n t1.user_id,\n t1.order_platform,\n date_trunc(''day'', t2.FirstDate) as \"FirstOrderDate\",\n date_trunc(''day'', t1.order_creation_date) as \"OrderDate\"\nFROM\n \"opensource-demo\".orders as t1,\n (SELECT\n user_id,\n MIN(order_creation_date) as FirstDate\n FROM \"opensource-demo\".orders\n GROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 50}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 71}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 46}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 71}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 68}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 13:48:21.418851+00', 'uid:systemId', '2023-11-24 13:48:21.418851+00', 1560949673068332049, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'), + ('{"salt": "0.5828470246218467", "tabs": [{"id": "7g", "items": [{"id": "OgN", "data": {"text": "># **Marketplace Sales**"}, "type": "text", "namespace": "default"}, {"id": "Mge", "data": {"text": "# \n\n```\nUse selectors to filter \nand modify charts\n```"}, "type": "text", "namespace": "default"}, {"id": "jvG", "data": {"size": "l", "text": "Main KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "vnv", "data": {"title": "Region", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "order_buyer_region_name", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"order_buyer_region_name": ""}, "namespace": "default"}, {"id": "ag6", "data": {"title": "Neighbourhood", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "4664cc4f-6a50-44cc-8dfb-b76fc814a159", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"4664cc4f-6a50-44cc-8dfb-b76fc814a159": ""}, "namespace": "default"}, {"id": "OgL", "data": {"title": "Scale", "source": {"fieldName": "scale", "showTitle": true, "elementType": "select", "defaultValue": "month", "acceptableValues": [{"title": "month", "value": "month"}, {"title": "week", "value": "week"}, {"title": "day", "value": "day"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "JBj", "data": {"title": "Order Date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval_2019-01-01T00:00:00.000Z_2020-02-13T00:00:00.000Z"}, "namespace": "default"}, {"id": "ag1", "data": {"tabs": [{"id": "vnn", "title": "Title 1", "params": {}, "chartId": "lqifl0t8hhrga", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pn5", "data": {"tabs": [{"id": "JBv", "title": "Title 1", "params": {}, "chartId": "qvnkq3hl9zjyf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "K89", "data": {"tabs": [{"id": "G8J", "title": "Title 1", "params": {}, "chartId": "mrjgm1522opyb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N0z", "data": {"tabs": [{"id": "7dr", "title": "Title 1", "params": {}, "chartId": "nskhn3wc2rk8c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Zg5", "data": {"tabs": [{"id": "L4l", "title": "Title 1", "params": {}, "chartId": "kphekyrgzony9", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4aO", "data": {"tabs": [{"id": "82B", "title": "Title 1", "params": {}, "chartId": "8d528ok4io2ax", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "QjG", "data": {"size": "l", "text": "Regions & Neighbourhoods", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "onD", "data": {"text": "#\n```\nDrill-down with click to row\nand switch charts with tabs"}, "type": "text", "namespace": "default"}, {"id": "23L", "data": {"tabs": [{"id": "0AZ", "title": "By region", "params": {}, "chartId": "otlio209vg4md", "isDefault": true, "autoHeight": false, "description": ""}, {"id": "gA8", "title": "by population", "params": {}, "chartId": "nskhn3dhudj0c", "isDefault": false, "autoHeight": false, "description": ""}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Pk3", "data": {"size": "l", "text": "Products", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "BW5", "data": {"text": "#\n```\nDrill-down by click on ⊞\nand download data clicking on …"}, "type": "text", "namespace": "default"}, {"id": "b08", "data": {"tabs": [{"id": "R1Z", "title": "Table by products", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": "#\n```\nⓘ Add descriptions for widgets and metrics "}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V4y", "data": {"text": "#\n```\nGo to links to other business systems\nand dashboards with predefined filters"}, "type": "text", "namespace": "default"}, {"id": "9Qk", "data": {"tabs": [{"id": "YL9", "title": "Top products by Sales", "params": {}, "chartId": "tyqnt9bovid8i", "isDefault": true, "autoHeight": false, "description": "```\nUse built-in pagination for tables"}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "rXo", "data": {"size": "l", "text": "Clients & Cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nOP", "data": {"text": ""}, "type": "text", "layout": {"h": 2, "w": 12}, "orderId": 28, "namespace": "default", "defaultOrderId": 28}, {"id": "1R4", "data": {"text": "#\n```\nFilter data from different sources\nusing global selectors"}, "type": "text", "namespace": "default"}, {"id": "WzG", "data": {"title": "Platform", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "b76344a2-2cc1-4f65-bb40-f81035853bf2", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"b76344a2-2cc1-4f65-bb40-f81035853bf2": ""}, "namespace": "default"}, {"id": "k3a", "data": {"title": "First Order", "source": {"isRange": true, "datasetId": "infciq1c89je7", "fieldType": "date", "showTitle": true, "elementType": "date", "defaultValue": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z", "datasetFieldId": "6fd23eb8-1f52-4df8-a700-7c97675a9ac8", "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"6fd23eb8-1f52-4df8-a700-7c97675a9ac8": "__interval_2019-04-01T00:00:00.000Z_2020-02-29T00:00:00.000Z"}, "namespace": "default"}, {"id": "EWV", "data": {"tabs": [{"id": "5ZZ", "title": "Title 1", "params": {}, "chartId": "y3vsy9yj0cb2n", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Kg9", "data": {"tabs": [{"id": "G1J", "title": "Title 1", "params": {}, "chartId": "qvnkq51ahceaf", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "dLA", "data": {"tabs": [{"id": "eG3", "title": "Cohorts based on Google Analytics", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "O9L", "data": {"tabs": [{"id": "a16", "title": "Title 1", "params": {}, "chartId": "nskhn5tf9nw4c", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "gvY", "data": {"tabs": [{"id": "0Yd", "title": "Regions and Neighbourhoods shipping time", "params": {}, "chartId": "16yxd7gojiacq", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ygL", "data": {"tabs": [{"id": "2zW", "title": "Sales by location", "params": {}, "chartId": "27z4q4cl8umqr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "zgd", "data": {"text": ""}, "type": "text", "namespace": "default"}], "title": "Overview", "layout": [{"h": 2, "i": "OgN", "w": 10, "x": 0, "y": 0}, {"h": 4, "i": "Mge", "w": 7, "x": 13, "y": 0}, {"h": 2, "i": "jvG", "w": 13, "x": 0, "y": 2}, {"h": 2, "i": "vnv", "w": 6, "x": 0, "y": 4}, {"h": 2, "i": "ag6", "w": 7, "x": 6, "y": 4}, {"h": 2, "i": "OgL", "w": 6, "x": 13, "y": 4}, {"h": 2, "i": "JBj", "w": 17, "x": 19, "y": 4}, {"h": 5, "i": "ag1", "w": 5, "x": 0, "y": 6}, {"h": 5, "i": "pn5", "w": 6, "x": 5, "y": 6}, {"h": 5, "i": "K89", "w": 5, "x": 11, "y": 6}, {"h": 5, "i": "N0z", "w": 6, "x": 16, "y": 6}, {"h": 5, "i": "Zg5", "w": 5, "x": 22, "y": 6}, {"h": 5, "i": "4aO", "w": 5, "x": 31, "y": 6}, {"h": 4, "i": "QjG", "w": 9, "x": 0, "y": 11}, {"h": 4, "i": "onD", "w": 12, "x": 9, "y": 11}, {"h": 16, "i": "23L", "w": 15, "x": 0, "y": 15}, {"h": 4, "i": "Pk3", "w": 4, "x": 0, "y": 31}, {"h": 4, "i": "BW5", "w": 8, "x": 4, "y": 31}, {"h": 16, "i": "b08", "w": 19, "x": 0, "y": 35}, {"h": 4, "i": "V4y", "w": 10, "x": 19, "y": 31}, {"h": 16, "i": "9Qk", "w": 17, "x": 19, "y": 35}, {"h": 4, "i": "rXo", "w": 7, "x": 0, "y": 51}, {"h": 2, "i": "nOP", "w": 14, "x": 15, "y": 51}, {"h": 4, "i": "1R4", "w": 8, "x": 7, "y": 51}, {"h": 2, "i": "WzG", "w": 6, "x": 15, "y": 53}, {"h": 2, "i": "k3a", "w": 8, "x": 21, "y": 53}, {"h": 14, "i": "EWV", "w": 10, "x": 0, "y": 55}, {"h": 9, "i": "Kg9", "w": 10, "x": 0, "y": 69}, {"h": 23, "i": "dLA", "w": 26, "x": 10, "y": 55}, {"h": 5, "i": "O9L", "w": 4, "x": 27, "y": 6}, {"h": 16, "i": "gvY", "w": 10, "x": 26, "y": 15}, {"h": 16, "i": "ygL", "w": 11, "x": 15, "y": 15}, {"h": 4, "i": "zgd", "w": 15, "x": 21, "y": 11}], "aliases": {"default": [["b76344a2-2cc1-4f65-bb40-f81035853bf2", "order_platform"]]}, "connections": [{"to": "vnn", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnn", "kind": "ignore"}, {"to": "JBv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBv", "kind": "ignore"}, {"to": "G8J", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "G8J", "kind": "ignore"}, {"to": "7dr", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "7dr", "kind": "ignore"}, {"to": "vnv", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "vnv", "kind": "ignore"}, {"to": "ag6", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "ag6", "kind": "ignore"}, {"to": "OgL", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "OgL", "kind": "ignore"}, {"to": "JBj", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "JBj", "kind": "ignore"}, {"to": "L4l", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "YL9", "kind": "ignore"}, {"to": "k3a", "from": "WzG", "kind": "ignore"}, {"to": "WzG", "from": "k3a", "kind": "ignore"}, {"to": "k3a", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "k3a", "kind": "ignore"}, {"to": "OgL", "from": "JBj", "kind": "ignore"}, {"to": "JBj", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "OgL", "kind": "ignore"}, {"to": "k3a", "from": "vnv", "kind": "ignore"}, {"to": "vnv", "from": "k3a", "kind": "ignore"}, {"to": "vnv", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "JBj", "kind": "ignore"}, {"to": "ag6", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "ag6", "kind": "ignore"}, {"to": "vnn", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "vnn", "kind": "ignore"}, {"to": "G8J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G8J", "kind": "ignore"}, {"to": "L4l", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "L4l", "kind": "ignore"}, {"to": "82B", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "82B", "kind": "ignore"}, {"to": "0AZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "0AZ", "kind": "ignore"}, {"to": "gA8", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "gA8", "kind": "ignore"}, {"to": "R1Z", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "R1Z", "kind": "ignore"}, {"to": "YL9", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "YL9", "kind": "ignore"}, {"to": "5ZZ", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "5ZZ", "kind": "ignore"}, {"to": "G1J", "from": "OgL", "kind": "ignore"}, {"to": "OgL", "from": "G1J", "kind": "ignore"}]}, {"id": "LoG", "items": [{"id": "2RQ", "data": {"size": "l", "text": "Column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "DlP", "data": {"size": "l", "text": "Line chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "g20", "data": {"tabs": [{"id": "08y", "title": "Stacked by dimension", "params": {}, "chartId": "mrjgmvxq6yo2b", "isDefault": true, "autoHeight": false}, {"id": "aWN", "title": "Stacked by measure name", "params": {}, "chartId": "ch96cmbbxrc21", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "ynW", "data": {"tabs": [{"id": "2j7", "title": "Grouped by dimension", "params": {}, "chartId": "05xu0e1so1o6p", "isDefault": true, "autoHeight": false}, {"id": "O1n", "title": "Grouped by measure name", "params": {}, "chartId": "6b306hs4db0iv", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "BRd", "data": {"tabs": [{"id": "PBN", "title": "Title 1", "params": {}, "chartId": "sxpms29dmzfuh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Y2Y", "data": {"tabs": [{"id": "bAa", "title": "Title 1", "params": {}, "chartId": "x2urxfzzoeicm", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "9lN", "data": {"size": "l", "text": "Stacked area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rBB", "data": {"size": "l", "text": "Bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "nlp", "data": {"tabs": [{"id": "1p1", "title": "Stacked by dimension", "params": {}, "chartId": "infciwr6tkfq7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Edn", "data": {"tabs": [{"id": "58e", "title": "Title 1", "params": {}, "chartId": "ch96cs0b54by1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "epA", "data": {"size": "l", "text": "Pie chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GR1", "data": {"tabs": [{"id": "dEK", "title": "Title 1", "params": {}, "chartId": "sxpms3j78li2h", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "KvY", "data": {"size": "l", "text": "Donut chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7KE", "data": {"size": "l", "text": "KPIs", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AWA", "data": {"tabs": [{"id": "NPY", "title": "Total", "params": {}, "chartId": "tyqntb2nacawi", "isDefault": true, "autoHeight": false, "description": "for the whole period"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3zr", "data": {"tabs": [{"id": "M91", "title": "Title 1", "params": {}, "chartId": "05xu0bafozgep", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "abX", "data": {"tabs": [{"id": "v06", "title": "Title 1", "params": {}, "chartId": "491y4iy424wmt", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "JbE", "data": {"tabs": [{"id": "OPe", "title": "Title 1", "params": {}, "chartId": "y3vsy9b5iv86n", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "31r", "data": {"text": "># **Charts types**"}, "type": "text", "namespace": "default"}, {"id": "anX", "data": {"tabs": [{"id": "vy6", "title": "Grouped by dimension", "params": {}, "chartId": "27zw2cgw2r12r", "isDefault": true, "autoHeight": false}, {"id": "py8", "title": "Grouped by measure name", "params": {}, "chartId": "ejb8eqs2fid63", "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "JoE", "data": {"tabs": [{"id": "OQe", "title": "Title 1", "params": {}, "chartId": "hmebhy1hzd606", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvK", "data": {"size": "l", "text": "Treemap", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "K2O", "data": {"tabs": [{"id": "GN4", "title": "Title 1", "params": {}, "chartId": "qvnkq0t05u52f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N21", "data": {"tabs": [{"id": "75n", "title": "Title 1", "params": {}, "chartId": "z4wtzfkww8r0o", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ml6", "data": {"tabs": [{"id": "Ae8", "title": "Title 1", "params": {}, "chartId": "6b306i1uz3euv", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Jol", "data": {"tabs": [{"id": "OQz", "title": "Title 1", "params": {}, "chartId": "ch96cpyzl3hm1", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "pvR", "data": {"size": "l", "text": "Pivot table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "L0N", "data": {"size": "l", "text": "Normalized bar chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZZ6", "data": {"size": "l", "text": "Normalized area chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8kv", "data": {"size": "l", "text": "Normalized column chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "E1D", "data": {"tabs": [{"id": "5LK", "title": "Simpe table", "params": {}, "chartId": "x2urxes3f5vwm", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "e64", "data": {"size": "l", "text": "Table", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "74n", "data": {"tabs": [{"id": "KdO", "title": "Title 1", "params": {}, "chartId": "gldagxhlpx4q5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "N91", "data": {"size": "l", "text": "Scatter plot", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AXP", "data": {"tabs": [{"id": "N9B", "title": "One measure", "params": {}, "chartId": "y3vsyf3u2yaan", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "350", "data": {"tabs": [{"id": "MOZ", "title": "One measure", "params": {}, "chartId": "27zw2cohp6war", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Lrb", "data": {"tabs": [{"id": "jKD", "title": "Title 1", "params": {}, "chartId": "rwolr4a7460kg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "65e", "data": {"tabs": [{"id": "lY4", "title": "Table with formating and hierarchy", "params": {}, "chartId": "nskhn4ak09vwc", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "dKE", "data": {"tabs": [{"id": "e7Z", "title": "Find more examples on combo chart tab", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "G8N", "data": {"size": "l", "text": "Combined chart", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7d4", "data": {"size": "l", "text": "Split by dimension", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AyO", "data": {"tabs": [{"id": "N0O", "title": "Title 1", "params": {}, "chartId": "otlio1uyld8ud", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "3vW", "data": {"tabs": [{"id": "Mgv", "title": "Title 1", "params": {}, "chartId": "af74anjr2bqyz", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}], "title": "Chart types", "layout": [{"h": 2, "i": "2RQ", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "DlP", "w": 24, "x": 12, "y": 57}, {"h": 15, "i": "g20", "w": 12, "x": 24, "y": 5}, {"h": 15, "i": "ynW", "w": 12, "x": 12, "y": 5}, {"h": 14, "i": "BRd", "w": 12, "x": 12, "y": 60}, {"h": 14, "i": "Y2Y", "w": 12, "x": 0, "y": 60}, {"h": 3, "i": "9lN", "w": 12, "x": 0, "y": 57}, {"h": 3, "i": "rBB", "w": 36, "x": 0, "y": 20}, {"h": 16, "i": "nlp", "w": 12, "x": 24, "y": 23}, {"h": 14, "i": "Edn", "w": 12, "x": 12, "y": 77}, {"h": 3, "i": "epA", "w": 12, "x": 12, "y": 74}, {"h": 14, "i": "GR1", "w": 12, "x": 24, "y": 77}, {"h": 3, "i": "KvY", "w": 12, "x": 24, "y": 74}, {"h": 3, "i": "7KE", "w": 36, "x": 0, "y": 112}, {"h": 6, "i": "AWA", "w": 6, "x": 13, "y": 115}, {"h": 6, "i": "3zr", "w": 6, "x": 7, "y": 115}, {"h": 6, "i": "abX", "w": 7, "x": 0, "y": 115}, {"h": 4, "i": "JbE", "w": 4, "x": 19, "y": 115}, {"h": 3, "i": "31r", "w": 36, "x": 0, "y": 0}, {"h": 16, "i": "anX", "w": 12, "x": 12, "y": 23}, {"h": 20, "i": "JoE", "w": 19, "x": 0, "y": 159}, {"h": 3, "i": "pvK", "w": 19, "x": 0, "y": 156}, {"h": 15, "i": "K2O", "w": 12, "x": 12, "y": 42}, {"h": 15, "i": "N21", "w": 12, "x": 0, "y": 42}, {"h": 15, "i": "Ml6", "w": 12, "x": 24, "y": 42}, {"h": 12, "i": "Jol", "w": 36, "x": 0, "y": 144}, {"h": 3, "i": "pvR", "w": 36, "x": 0, "y": 141}, {"h": 3, "i": "L0N", "w": 12, "x": 0, "y": 39}, {"h": 3, "i": "ZZ6", "w": 12, "x": 24, "y": 39}, {"h": 3, "i": "8kv", "w": 12, "x": 12, "y": 39}, {"h": 17, "i": "E1D", "w": 18, "x": 0, "y": 124}, {"h": 3, "i": "e64", "w": 36, "x": 0, "y": 121}, {"h": 20, "i": "74n", "w": 17, "x": 19, "y": 159}, {"h": 3, "i": "N91", "w": 17, "x": 19, "y": 156}, {"h": 15, "i": "AXP", "w": 12, "x": 0, "y": 5}, {"h": 16, "i": "350", "w": 12, "x": 0, "y": 23}, {"h": 14, "i": "Lrb", "w": 12, "x": 24, "y": 60}, {"h": 17, "i": "65e", "w": 18, "x": 18, "y": 124}, {"h": 14, "i": "dKE", "w": 12, "x": 0, "y": 77}, {"h": 3, "i": "G8N", "w": 12, "x": 0, "y": 74}, {"h": 3, "i": "7d4", "w": 36, "x": 0, "y": 91}, {"h": 18, "i": "AyO", "w": 18, "x": 0, "y": 94}, {"h": 18, "i": "3vW", "w": 18, "x": 18, "y": 94}], "aliases": {}, "connections": []}, {"id": "yB5", "items": [{"id": "DZJ", "data": {"tabs": [{"id": "zdb", "title": "Plan and Fact", "params": {}, "chartId": "27zw2jj0oekyr", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "B9L", "data": {"tabs": [{"id": "PpM", "title": "Three types of layers", "params": {}, "chartId": "27zw2cr72wyir", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Y74", "data": {"tabs": [{"id": "bKZ", "title": "Avg by region", "params": {}, "chartId": "hmebhxanjbz86", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "r0z", "data": {"tabs": [{"id": "99g", "title": "Unstacked area chart", "params": {}, "chartId": "ejb8es4ih2ty3", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "1Xd", "data": {"text": "A combined chart is a chart that consists of layers. The page contains examples of the charts. \n\nCombo chart limitations:\n- The X-axis is common to all layers\n- Layers can be added, deleted, reordered, renamed\n- Each layer is executed in the database by a separate query\n- You can combine linear, columnar and area charts."}, "type": "text", "namespace": "default"}, {"id": "ng3", "data": {"text": "One of most frequent case is a comparison of a plan and a fact. The plan line can be shown as line, and factual data shown as bars."}, "type": "text", "namespace": "default"}, {"id": "WG4", "data": {"text": "You can combine several types of layers. In this example, there are three layers of different types:\n- Line chart\n- Column chart\n- Area chart"}, "type": "text", "namespace": "default"}, {"id": "5O6", "data": {"text": "In addition to the constants from the example above, you can output additional lines calculated through window or LOD functions.To calculate the average by category, a calculated field with the formula is used here:\n\n`avg(SUM([Sales] INCLUDE [Region]))`\n\nMore details about window functions can be found on the \"Window functions\" and \"Level of details functions\" tabs."}, "type": "text", "namespace": "default"}, {"id": "E8B", "data": {"text": "You can use a combined chart to display a area chart without stacking layers, hence all indicators are shown from 0 along the Y axis"}, "type": "text", "namespace": "default"}, {"id": "Y8Q", "data": {"text": "># **Combined chart**"}, "type": "text", "namespace": "default"}], "title": "Combined chart", "layout": [{"h": 12, "i": "DZJ", "w": 17, "x": 0, "y": 10}, {"h": 13, "i": "B9L", "w": 17, "x": 0, "y": 22}, {"h": 13, "i": "Y74", "w": 17, "x": 0, "y": 35}, {"h": 13, "i": "r0z", "w": 17, "x": 0, "y": 48}, {"h": 7, "i": "1Xd", "w": 19, "x": 0, "y": 3}, {"h": 12, "i": "ng3", "w": 19, "x": 17, "y": 10}, {"h": 13, "i": "WG4", "w": 19, "x": 17, "y": 22}, {"h": 13, "i": "5O6", "w": 19, "x": 17, "y": 48}, {"h": 13, "i": "E8B", "w": 19, "x": 17, "y": 61}, {"h": 3, "i": "Y8Q", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "MNb", "items": [{"id": "yzR", "data": {"text": "Examples of using drill-down and tree features in DataLens"}, "type": "text", "namespace": "default"}, {"id": "Dj2", "data": {"tabs": [{"id": "znn", "title": "Title 1", "params": {}, "chartId": "mrjgmyu6wn56b", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BjX", "data": {"tabs": [{"id": "PnJ", "title": "Title 1", "params": {}, "chartId": "mrjgm08df0peb", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "b10", "data": {"text": "The hierarchy can be created in charts. To create one, click on the \"+\" button on the top panel of the chart.\n\nAfter adding a hierarchy to the chart, you can interactively drill down on it. Example:\n**Product category 1 → Product category 2 → … → Product name**\n\nUsing \"bread crumbs\" you can return to the desired level or open the entire level."}, "type": "text", "namespace": "default"}, {"id": "AoP", "data": {"text": "You can add Hierarchy to different section, for example in color. "}, "type": "text", "namespace": "default"}, {"id": "BJD", "data": {"tabs": [{"id": "PJW", "title": "Title 1", "params": {}, "chartId": "sxpms78wdpaqh", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "V0K", "data": {"text": "You can add Hierarchy to different section, for example in X. "}, "type": "text", "namespace": "default"}, {"id": "AgL", "data": {"tabs": [{"id": "Nkz", "title": "Title 1", "params": {}, "chartId": "gldagp2ekyge5", "isDefault": true, "autoHeight": false, "description": ""}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "M4e", "data": {"text": "The tree is created using the TREE() function\n\n1. You need create an array describing the tree, with the full path for each node.\nThe sequence of values in the array determines the sequence of tree expansion.\n\nYou can use built-in function or create array at database.\n`TREE( ARRAY([Product category 1],[Product category 2],[Product category 3])`\n\n\n\n2. After the array is created based on it, you can create a tree using the formula: `TREE()''.\n\n\n##### Limitations of the current version\n- Only in flat tables\n- Without pagination\n- Without totals\n- Without remembering the state of disclosure\n- One tree/hierarchy per chart\n- No trees in selectors\n- Intermediate nodes of the tree must be stored in the source, even those for which there is no data"}, "type": "text", "namespace": "default"}, {"id": "kjW", "data": {"text": "># **Hierarchy**"}, "type": "text", "namespace": "default"}], "title": "Hierarchy", "layout": [{"h": 2, "i": "yzR", "w": 36, "x": 0, "y": 3}, {"h": 18, "i": "Dj2", "w": 17, "x": 0, "y": 5}, {"h": 13, "i": "BjX", "w": 17, "x": 0, "y": 40}, {"h": 18, "i": "b10", "w": 19, "x": 17, "y": 5}, {"h": 13, "i": "AoP", "w": 19, "x": 17, "y": 40}, {"h": 13, "i": "BJD", "w": 17, "x": 0, "y": 53}, {"h": 13, "i": "V0K", "w": 19, "x": 17, "y": 53}, {"h": 17, "i": "AgL", "w": 17, "x": 0, "y": 23}, {"h": 17, "i": "M4e", "w": 19, "x": 17, "y": 23}, {"h": 3, "i": "kjW", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "3p5", "items": [{"id": "9kY", "data": {"size": "l", "text": "Header L", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "rdR", "data": {"size": "s", "text": "Header S", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "1ZA", "data": {"text": "# **Headers**\nHeaders are used to separate different sections of dashboards and for navigation in Content panel."}, "type": "text", "namespace": "default"}, {"id": "noj", "data": {"text": "**You can add Emojis to charts and dashboards:**\nRise and Fall ▲ ● ▼ 🔺 🔻 ↗️ ↘️\nInfo and links 🔗 ⓘ 🗯️ 🗯 ❔\nWarning ⚠ ⚠️ ❗ ❕ 📛 🔔 ⚡ 🚨\nTrue/False ✅ / ❌ ⊞ ⊟\nSearch 🔍 \nCompetitors and partners ⚔️ 🤍 ⭐\nChart type legend 📊 📈 💹\nText legend: ■ ● — ◻︎\n🟥 🟧 🟨 🟩 🟦 🟪 🟫 ⬛ ⬜\n🔴 🟠 🟡 🟢 🔵 🟣 🟤 ⚫ ⚪\n"}, "type": "text", "namespace": "default"}, {"id": "kJv", "data": {"size": "l", "text": "Emoji", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "eD4", "data": {"text": "You can add various types of objects to a dashboard and format them using formatting functions and markdown."}, "type": "text", "namespace": "default"}, {"id": "dYz", "data": {"text": "**Bold text**\n_Italic text_\n**_Italic Bold text_**\n\n**Lists**\n* Point 1\n* Point 2\n* Point 3"}, "type": "text", "namespace": "default"}, {"id": "vLn", "data": {"size": "l", "text": "Links and formating functions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "aJ1", "data": {"text": "You can use```URL()``` to create links to other applications or dashboards.\n ``URL(\"https://www.google.com/search$114q=\" + [Product name], [Product name])`` — link to Google\nAlso you can format text by formating functions such as BOLD(), ITALIC() and MARKUP()"}, "type": "text", "namespace": "default"}, {"id": "JAv", "data": {"tabs": [{"id": "O2N", "title": "Click row to go to url", "params": {}, "chartId": "z4wtzhsv4vxko", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3ey", "data": {"text": "**Code**\n\n```kotlin\n val a: Int = 1\n```\n\n#### **Foldable sections**\n{% cut \"Show text\" %}\n\nHidden text\n\n{% endcut %}"}, "type": "text", "namespace": "default"}, {"id": "Jv7", "data": {"text": "># **Formating**"}, "type": "text", "namespace": "default"}, {"id": "p42", "data": {"size": "m", "text": "Header M", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "jpB", "data": {"size": "xs", "text": "Header XS", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "ZbQ", "data": {"text": "# **Text objects**\nText objects allow you to create various types of content: text with formating, images. links, code, list, foldable sections and tables "}, "type": "text", "namespace": "default"}, {"id": "8Ez", "data": {"text": "**Tables**\n\n#|\n|| **⚠ Status** | **Condition** ||\n|| Golden| more than 10 purchases||\n|| Silver | up to 10 purchases||\n|| Basic | 1 purchase per year||\n|#\n\n"}, "type": "text", "namespace": "default"}, {"id": "ljW", "data": {"text": "1. Point 1\n2. Point 2\n3. Point 3"}, "type": "text", "namespace": "default"}, {"id": "6N1", "data": {"text": ""}, "type": "text", "namespace": "default"}, {"id": "ozN", "data": {"text": "#\nYou can use emojis and utf symbols to create conditional formating. And you can use formating fields options in tables for color formating and bar charts."}, "type": "text", "namespace": "default"}, {"id": "XXa", "data": {"text": "⌚ 📱 📲 💻 ⌨ 🖥 🖨 🖱 🖲 🕹 🗜 💽 💾 💿 📀 📼 📷 📸 📹 🎥 📽 🎞 📞 ☎ 📟 📠 📺 📻 🎙 🎚 🎛 ⏱ ⏲ ⏰ 🕰 ⏳ ⌛ 🧮 📡 🔋 🔌 💡 🔦 🕯 🧯 🗑 🛢 🛒 💸 💵 💴 💶 💷 💰 🪙 💳 🧾 💎 ⚖ 🦯 🧰 🔧 🪛 🔨 ⚒ 🛠 ⛏ 🪓 🪚 🔩 ⚙ ⛓ 🧱 🔫 🧨 💣 🔪 🗡 ⚔ 🛡 🚬 ⚰ 🪦 ⚱ 🏺 🔮 🪄 📿 🧿 💈 🧲 ⚗ 🧪 🧫 🧬 🔭 🔬 🕳 💊 💉 🩸 🩹 🩺 🌡 🏷 🔖 🚽 🪠 🚿 🛁 🛀 🪥 🪒 🧴 🧻 🧼 🧽 🧹 🧺 🪣 🔑 🗝 🪤 🛋 🪑 🛌 🛏 🚪 🪞 🪟 🧳 🛎 🖼 🧭 🗺 ⛱ 🗿 🛍 🎈 🎏 🎀 🧧 🎁 🎊 🎉 🪅 🪆 🎎 🎐 🏮 🪔 ✉ 📩 📨 📧 💌 📮 📪 📫 📬 📭 📦 📯 📥 📤 📜 📃 📑 📊 📈 📉 📄 📅 📆 🗓 📇 🗃 🗳 🗄 📋 🗒 📁 📂 🗂 🗞 📰 🪧 📓 📕 📗 📘 📙 📔 📒 📚 📖 🔗 📎 🖇 ✂ 📐 📏 📌 📍 🧷 🪡 🧵 🧶 🪢 🔐 🔒 🔓 🔏 🖊 🖋 ✒ 📝 ✏ 🖍 🖌 🔍 🔎 👚 👕 🥼 🦺 🧥 👖 👔 👗 👘 🥻 🩱 👙 🩲 🩳 💄 💋 👣 🧦 🩴 👠 👡 👢 🥿 👞 👟 🩰 🥾 🧢 👒 🎩 🎓 👑 ⛑ 🪖 🎒 👝 👛 👜 💼 👓 🕶 🥽 🧣 🧤 💍 🌂 ☂\n\n😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😙 😚 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 ☹️ 😣 😖 😫 😩 🥺 😢 😭 😮‍💨 😤 😠 😡 🤬 🤯 😳 🥵 🥶 😱 😨 😰 😥 😓 😶‍🌫️ 😐 😑 😬 🙄 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😵 😵‍💫 🫥 🤐 🥴 🤢 🤮 🤧 😷 🤒\n\n👋 🤚 🖐 ✋ 🖖 👌 🤏 ✌️ 🤞 🤟 🤘 🤙 👈 👉 👆 🖕 👇 ☝️ 👍 👎 ✊ 👊 🤛 🤜 👏 🙌 👐 🤲 🤝 🙏 ✍️ 💅 🤳 💪 🦾 🦵 🦿 🦶 👣 👂 🦻 👃 🧠 🦷 🦴 👀 👁 👅 👄 💋 🩸\n\n👶 👧 🧒 👦 👩 🧑 👨 👩‍🦱 🧑‍🦱 👨‍🦱 👩‍🦰 🧑‍🦰 👨‍🦰 👱‍♀️ 👱 👱‍♂️ 👩‍🦳 🧑‍🦳 👨‍🦳 👩‍🦲 🧑‍🦲 👨‍🦲 🧔‍♀️ 🧔 🧔‍♂️ 👵 🧓 👴 👲 👳‍♀️ 👳 👳‍♂️ 🧕 👮‍♀️ 👮 👮‍♂️ 👷‍♀️ 👷 👷‍♂️ 💂‍♀️ 💂 💂‍♂️ 🕵️‍♀️ 🕵️ 🕵️‍♂️ 👩‍⚕️ 🧑‍⚕️ 👨‍⚕️ 👩‍🌾 🧑‍🌾 👨‍🌾 👩‍🍳 🧑‍🍳 👨‍🍳 👩‍🎓 🧑‍🎓 👨‍🎓 👩‍🎤 🧑‍🎤 👨‍🎤 👩‍🏫 🧑‍🏫 👨‍🏫 👩‍🏭 🧑‍🏭 👨‍🏭 👩‍💻 🧑‍💻 👨‍💻 👩‍💼 🧑‍💼 👨‍💼 👩‍🔧 🧑‍🔧 👨‍🔧 👩‍🔬 🧑‍🔬 👨‍🔬 👩‍🎨 🧑‍🎨 👨‍🎨 👩‍🚒 🧑‍🚒 👨‍🚒 👩‍✈️ 🧑‍✈️ 👨‍✈️ 👩‍🚀 🧑‍🚀 👨‍🚀 👩‍⚖️ 🧑‍⚖️ 👨‍⚖️ 👰‍♀️ 👰 👰‍♂️ 🤵‍♀️ 🤵 🤵‍♂️ 👸 🤴 🦸‍♀️ 🦸 🦸‍♂️ 🦹‍♀️ 🦹 🦹‍♂️ 🤶 🧑‍🎄 🎅 🧙‍♀️ 🧙 🧙‍♂️ 🧝‍♀️ 🧝 🧝‍♂️ 🧛‍♀️ 🧛 🧛‍♂️ 🧟‍♀️ 🧟 🧟‍♂️ 🧞‍♀️ 🧞 🧞‍♂️ 🧜‍♀️ 🧜 🧜‍♂️ 🧚‍♀️ 🧚 🧚‍♂️ 🧌 👼 🤰 🫄 🫃 🤱 👩‍🍼 🧑‍🍼 👨‍🍼 🙇‍♀️ 🙇 🙇‍♂️ 💁‍♀️ 💁 💁‍♂️ 🙅‍♀️ 🙅 🙅‍♂️ 🙆‍♀️ 🙆 🙆‍♂️ 🙋‍♀️ 🙋 🙋‍♂️ 🧏‍♀️ 🧏 🧏‍♂️ 🤦‍♀️ 🤦 🤦‍♂️ 🤷‍♀️ 🤷 🤷‍♂️ 🙎‍♀️ 🙎 🙎‍♂️ 🙍‍♀️ 🙍 🙍‍♂️ 💇‍♀️ 💇 💇‍♂️ 💆‍♀️ 💆 💆‍♂️ 🧖‍♀️ 🧖 🧖‍♂️ 💅 🤳 💃 🕺 👯‍♀️ 👯 👯‍♂️ 🕴 👩‍🦽 🧑‍🦽 👨‍🦽 👩‍🦼 🧑‍🦼 👨‍🦼 🚶‍♀️ 🚶 🚶‍♂️ 👩‍🦯 🧑‍🦯 👨‍🦯 🧎‍♀️ 🧎 🧎‍♂️ 🏃‍♀️ 🏃 🏃‍♂️ 🧍‍♀️ 🧍 🧍‍♂️ 👭 🧑‍🤝‍🧑 👬 👫 👩‍❤️‍👩 💑 👨‍❤️‍👨 👩‍❤️‍👨 👩‍❤️‍💋‍👩 💏 👨‍❤️‍💋‍👨 👩‍❤️‍💋‍👨 👪 👨‍👩‍👦 👨‍👩‍👧 👨‍👩‍👧‍👦 👨‍👩‍👦‍👦 👨‍👩‍👧‍👧 👨‍👨‍👦 👨‍👨‍👧 👨‍👨‍👧‍👦 👨‍👨‍👦‍👦 👨‍👨‍👧‍👧 👩‍👩‍👦 👩‍👩‍👧 👩‍👩‍👧‍👦 👩‍👩‍👦‍👦 👩‍👩‍👧‍👧 👨‍👦 👨‍👦‍👦 👨‍👧 👨‍👧‍👦 👨‍👧‍👧 👩‍👦 👩‍👦‍👦 👩‍👧 👩‍👧‍👦 👩‍👧‍👧 🗣 👤 👥\n\n🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐻‍❄️ 🐨 🐯 🦁 🐮 🐷 🐽 🐸 🐵 🙈 🙉 🙊 🐒 🐔 🐧 🐦 🐤 🐣 🐥 🦆 🦅 🦉 🦇 🐺 🐗 🐴 🦄 🐝 🪱 🐛 🦋 🐌 🐞 🐜🦟 🦗 🕷 🕸 🦂 🐢 🐍 🦎 🦖 🦕 🐙 🦑 🦐 🦞 🦀 🪸 🐡 🐠 🐟 🐬 🐳 🐋 🦈 🐊 🐅 🐆 🦓 🦍 🦧 🦣 🐘 🦛 🦏 🐪 🐫 🦒 🦘 🦬 🐃 🐂 🐄 🐎 🐖 🐏 🐑 🦙 🐐 🦌 🐕 🐩 🦮 🐕‍🦺 🐈 🐈‍⬛ 🐓 🦃 🦤 🦚 🦜 🦢 🦩 🕊 🐇 🦝 🦨 🦡 🦫 🦦 🦥 🐁 🐀 🐿 🦔 🐾 🐉 🐲 🌵 🎄 🌲 🌳 🌴 🌱 🌿 ☘️ 🍀 🎍 🪴 🎋 🍃 🍂 🍁 🍄 🐚 🪨 🌾 💐 🌷 🪷 🌹 🥀 🌺 🌸 🌼 🌻 🌞 🌝 🌛 🌜 🌚 🌕 🌖 🌗 🌘 🌑 🌒 🌓 🌔 🌙 🌎 🌍 🌏 🪐 💫 ⭐️ 🌟 ✨ ⚡️ ☄️ 💥 🔥 🌪 🌈 ☀️ 🌤 ⛅️ 🌥 ☁️ 🌦 🌧 ⛈ 🌩 🌨 ❄️ ☃️ ⛄️ 🌬 💨 💧 💦 🫧 ☔️ ☂️ 🌊 🌫\n\n🍏 🍎 🍐 🍊 🍋 🍌 🍉 🍇 🍓🍈 🍒 🍑 🥭 🍍 🥥 🥝 🍅 🍆 🥑 🥦 🥬 🥒 🌶 🌽 🥕 🧄 🧅 🥔 🍠 🥐 🥯 🍞 🥖 🥨 🧀 🥚 🍳 🧈 🥞 🧇 🥓 🥩 🍗 🍖 🦴 🌭 🍔 🍟 🍕 🥪 🥙 🧆 🌮 🌯 🥗 🥘 🥫 🍝 🍜 🍲 🍛 🍣 🍱 🥟 🦪 🍤 🍙 🍚 🍘 🍥 🥠 🥮 🍢 🍡 🍧 🍨 🍦 🥧 🧁 🍰 🎂 🍮 🍭 🍬 🍫 🍿 🍩 🍪 🌰 🥜 🍯 🥛 🍼 ☕️ 🍵 🧃 🥤 🍶 🍺 🍻 🥂 🍷 🫗 🥃 🍸 🍹 🧉 🍾 🧊 🥄 🍴 🍽 🥣 🥡 🥢 🧂\n\n⚽️ 🏀 🏈 ⚾️ 🥎 🎾 🏐 🏉 🥏 🎱 🪀 🏓 🏸 🏒 🏑 🥍 🏏 🪃 🥅 ⛳️ 🪁 🏹 🎣 🤿 🥊 🥋 🎽 🛹 🛼 🛷 ⛸ 🥌 🎿 ⛷ 🏂 🪂 🏋️‍♀️ 🏋️ 🏋️‍♂️ 🤼‍♀️ 🤼 🤼‍♂️ 🤸‍♀️ 🤸 🤸‍♂️ ⛹️‍♀️ ⛹️ ⛹️‍♂️ 🤺 🤾‍♀️ 🤾 🤾‍♂️ 🏌️‍♀️ 🏌️ 🏌️‍♂️ 🏇 🧘‍♀️ 🧘 🧘‍♂️ 🏄‍♀️ 🏄 🏄‍♂️ 🏊‍♀️ 🏊 🏊‍♂️ 🤽‍♀️ 🤽 🤽‍♂️ 🚣‍♀️ 🚣 🚣‍♂️ 🧗‍♀️ 🧗 🧗‍♂️ 🚵‍♀️ 🚵 🚵‍♂️ 🚴‍♀️ 🚴 🚴‍♂️ 🏆 🥇 🥈 🥉 🏅 🎖 🏵 🎗 🎫 🎟 🎪 🤹 🤹‍♂️ 🤹‍♀️ 🎭 🩰 🎨 🎬 🎤 🎧 🎼 🎹 🥁 🪘 🎷 🎺 🪗 🎸 🪕 🎻 🎲 ♟ 🎯 🎳 🎮 🎰 🧩\n\n🡣\t🡫\t🡳\t🡻\t🢃\t⇓\t⇩\t⬇\n🡩\t🡡\t🡱\t🡹\t🢁\t⇑\t⇧\t⬆\n🡮\t🡦\t🡶\t🡾\t🢆\t⇘\t⬂\t⬊\n🡢\t🡪\t🡲\t🡺\t🢂\t⇒\t⇨\t⬇\n🡥\t🡭\t🡵\t🡽\t🢅\t⇗\t⬀\t⬈\n🡧\t🡯\t🡷\t🡿\t🢇\t⇙\t⬃\t⬋\n🡠\t🡨\t🡰\t🡸\t🢀\t⇐\t⇦\t⬅\n🡤\t🡬\t🡴\t🡼\t🢄\t⇖\t⬁\t⬉"}, "type": "text", "namespace": "default"}], "title": "Formating", "layout": [{"h": 4, "i": "9kY", "w": 5, "x": 0, "y": 9}, {"h": 4, "i": "rdR", "w": 7, "x": 5, "y": 13}, {"h": 4, "i": "1ZA", "w": 12, "x": 0, "y": 5}, {"h": 9, "i": "noj", "w": 10, "x": 0, "y": 49}, {"h": 2, "i": "kJv", "w": 36, "x": 0, "y": 47}, {"h": 2, "i": "eD4", "w": 36, "x": 0, "y": 3}, {"h": 8, "i": "dYz", "w": 4, "x": 12, "y": 9}, {"h": 3, "i": "vLn", "w": 36, "x": 0, "y": 17}, {"h": 4, "i": "aJ1", "w": 25, "x": 0, "y": 20}, {"h": 23, "i": "JAv", "w": 36, "x": 0, "y": 24}, {"h": 8, "i": "3ey", "w": 7, "x": 21, "y": 9}, {"h": 3, "i": "Jv7", "w": 36, "x": 0, "y": 0}, {"h": 4, "i": "p42", "w": 7, "x": 5, "y": 9}, {"h": 4, "i": "jpB", "w": 5, "x": 0, "y": 13}, {"h": 4, "i": "ZbQ", "w": 24, "x": 12, "y": 5}, {"h": 8, "i": "8Ez", "w": 8, "x": 28, "y": 9}, {"h": 4, "i": "ljW", "w": 5, "x": 16, "y": 13}, {"h": 4, "i": "6N1", "w": 5, "x": 16, "y": 9}, {"h": 4, "i": "ozN", "w": 11, "x": 25, "y": 20}, {"h": 9, "i": "XXa", "w": 26, "x": 10, "y": 49}], "aliases": {}, "connections": []}, {"id": "Zyd", "items": [{"id": "4oG", "data": {"tabs": [{"id": "8Rb", "title": "Scale", "params": {}, "chartId": "infcisd68swu7", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "lP4", "data": {"title": "Scale", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "6We", "data": {"size": "l", "text": "Scale date fields", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Q94", "data": {"text": "The parameters allow to configure calculated fields.On the dashboard, parameter values are set with selectors. Selectors should be created not based on the dataset, but using \"manual input\" tab, using the name of the parameter. \n\n**⚠ Important!** After adding a manual selector to the dashboard disconnect this selector from all other selectors on the dashboard tab. If the connection is not set to ignore the drop-down list of available values of other selectors will be empty."}, "type": "text", "namespace": "default"}, {"id": "oPa", "data": {"text": "Create a parameter `scale` at dataset\n\nCreate a calculated field `DATETRUNC([date], [scale])`. Use as field in charts.\n"}, "type": "text", "namespace": "default"}, {"id": "zZb", "data": {"size": "l", "text": "Using with AGO function", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "P2M", "data": {"tabs": [{"id": "D1J", "title": "Title 1", "params": {}, "chartId": "tyqntbjs2y9oi", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "BXL", "data": {"title": "ago-period", "source": {"fieldName": "ago-period", "showTitle": true, "elementType": "input", "defaultValue": "2"}, "sourceType": "manual"}, "type": "control", "defaults": {"ago-period": "2"}, "namespace": "default"}, {"id": "VzB", "data": {"text": "Creare parameters `scale` and `ago-period` at dataset\n\nSales AGO = `AGO([Sales], [Date (scaled)], [scale], [ago-period])`, where:\n- `AGO()` — function with date displacement\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[ago-period]` — displacement parameter "}, "type": "text", "namespace": "default"}, {"id": "RRK", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "bpZ", "data": {"size": "l", "text": "Currency calculator and other What-if cases", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "95g", "data": {"tabs": [{"id": "YP4", "title": "Title 1", "params": {}, "chartId": "uzrou89hw5hej", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "rrz", "data": {"title": "Currency", "source": {"fieldName": "currency", "showTitle": true, "elementType": "select", "defaultValue": "EUR", "acceptableValues": [{"title": "ILS", "value": "ILS"}, {"title": "EUR", "value": "EUR"}, {"title": "USD", "value": "USD"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"currency": "EUR"}, "namespace": "default"}, {"id": "1Yd", "data": {"text": "Create parameters `currency`, `ISL-USD` and `ISL-EUR`\n\nUse calculated field\n```sql\nif( [currency] = ''ILS'', [Sales], \n    [currency] = ''USD'', [Sales]/[ILS-USD], \n    [currency] = ''EUR'', [Sales]/[ILS-EUR], NULL)\n```"}, "type": "text", "namespace": "default"}, {"id": "nP3", "data": {"size": "l", "text": "Moving average window control", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "kPe", "data": {"tabs": [{"id": "WE4", "title": "Title 1", "params": {}, "chartId": "491y4djzjzumt", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "5E6", "data": {"title": "Window", "source": {"fieldName": "mavg-value", "showTitle": true, "elementType": "input", "defaultValue": "7"}, "sourceType": "manual"}, "type": "control", "defaults": {"mavg-value": "7"}, "namespace": "default"}, {"id": "E2B", "data": {"text": "Creare parameters `scale` and `mavg-value` at dataset\n\nSales MAVG = `MAVG([Sales], [mavg-value])`, where:\n- `MAVG()` — moving average function\n- `[Date (scaled)],` — `DATETRUNC([Date], [scale]) `\n- `[scale]` — scale parameter\n- `[mavg-value]` — moving average window"}, "type": "text", "namespace": "default"}, {"id": "eAZ", "data": {"title": "ILS-USD", "source": {"fieldName": "ILS-USD", "showTitle": true, "elementType": "input", "defaultValue": "0.27"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-USD": "0.27"}, "namespace": "default"}, {"id": "dNE", "data": {"title": "ILS-EUR", "source": {"fieldName": "ILS-EUR", "showTitle": true, "elementType": "input", "defaultValue": "0.29"}, "sourceType": "manual"}, "type": "control", "defaults": {"ILS-EUR": "0.29"}, "namespace": "default"}, {"id": "G5N", "data": {"title": "Группировка", "source": {"fieldName": "scale", "operation": null, "showTitle": true, "elementType": "select", "defaultValue": "month", "multiselectable": false, "acceptableValues": [{"title": "day", "value": "day"}, {"title": "week", "value": "week"}, {"title": "month", "value": "month"}, {"title": "year", "value": "year"}]}, "sourceType": "manual"}, "type": "control", "layout": {"h": 2, "w": 6}, "defaults": {"scale": "month"}, "namespace": "default"}, {"id": "Krb", "data": {"size": "l", "text": "Dimensions ane Measures controls", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "A9O", "data": {"tabs": [{"id": "NlO", "title": "Title 1", "params": {}, "chartId": "491y4ewqzvbut", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Mrv", "data": {"title": "Dimension", "source": {"fieldName": "dimension", "showTitle": true, "elementType": "select", "defaultValue": "Region", "acceptableValues": [{"title": "Population group", "value": "Population group"}, {"title": "Region", "value": "Region"}, {"title": "Neighbourhood", "value": "Neighbourhood"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"dimension": "Region"}, "namespace": "default"}, {"id": "3WW", "data": {"text": "Create a parameter `dimension` and `metric` at dataset\n\nAdd calculated fileds:\n```\nCASE([dimension],\n ''Region'', [Region],\n ''Neighbourhood'',[Neighbourhood],\n ''Population group'',[Population group],\n null)\n```\n\n\n```\nIF [metric]= \"sales\" THEN INT(SUM([amount]))\nELSEIF [metric]=\"quantity\" THEN SUM([quantity])\nEND\n```\n\nMesures with same type can only be used in that case."}, "type": "text", "namespace": "default"}, {"id": "1Jl", "data": {"title": "Metric", "source": {"fieldName": "metric", "showTitle": true, "elementType": "select", "defaultValue": "quantity", "acceptableValues": [{"title": "quantity", "value": "quantity"}, {"title": "sales", "value": "sales"}]}, "sourceType": "manual"}, "type": "control", "defaults": {"metric": "quantity"}, "namespace": "default"}, {"id": "n46", "data": {"text": "> # **Parameters**"}, "type": "text", "namespace": "default"}], "title": "Parameters", "layout": [{"h": 13, "i": "4oG", "w": 15, "x": 6, "y": 11}, {"h": 2, "i": "lP4", "w": 6, "x": 0, "y": 11}, {"h": 2, "i": "6We", "w": 36, "x": 0, "y": 9}, {"h": 6, "i": "Q94", "w": 36, "x": 0, "y": 3}, {"h": 13, "i": "oPa", "w": 15, "x": 21, "y": 11}, {"h": 2, "i": "zZb", "w": 36, "x": 0, "y": 40}, {"h": 12, "i": "P2M", "w": 15, "x": 6, "y": 42}, {"h": 2, "i": "BXL", "w": 6, "x": 0, "y": 44}, {"h": 12, "i": "VzB", "w": 15, "x": 21, "y": 42}, {"h": 2, "i": "RRK", "w": 6, "x": 0, "y": 42}, {"h": 2, "i": "bpZ", "w": 36, "x": 0, "y": 54}, {"h": 12, "i": "95g", "w": 15, "x": 6, "y": 56}, {"h": 2, "i": "rrz", "w": 6, "x": 0, "y": 56}, {"h": 12, "i": "1Yd", "w": 15, "x": 21, "y": 56}, {"h": 2, "i": "nP3", "w": 36, "x": 0, "y": 68}, {"h": 12, "i": "kPe", "w": 15, "x": 6, "y": 70}, {"h": 2, "i": "5E6", "w": 6, "x": 0, "y": 72}, {"h": 12, "i": "E2B", "w": 15, "x": 21, "y": 70}, {"h": 2, "i": "eAZ", "w": 6, "x": 0, "y": 58}, {"h": 2, "i": "dNE", "w": 6, "x": 0, "y": 60}, {"h": 2, "i": "G5N", "w": 6, "x": 0, "y": 70}, {"h": 2, "i": "Krb", "w": 36, "x": 0, "y": 24}, {"h": 14, "i": "A9O", "w": 15, "x": 6, "y": 26}, {"h": 2, "i": "Mrv", "w": 6, "x": 0, "y": 26}, {"h": 14, "i": "3WW", "w": 15, "x": 21, "y": 26}, {"h": 2, "i": "1Jl", "w": 6, "x": 0, "y": 28}, {"h": 3, "i": "n46", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": [{"to": "RRK", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "RRK", "kind": "ignore"}, {"to": "G5N", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "G5N", "kind": "ignore"}, {"to": "D1J", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "lP4", "kind": "ignore"}, {"to": "lP4", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "WE4", "kind": "ignore"}, {"to": "G5N", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "G5N", "kind": "ignore"}, {"to": "NlO", "from": "RRK", "kind": "ignore"}, {"to": "RRK", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "8Rb", "kind": "ignore"}, {"to": "YP4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "BXL", "kind": "ignore"}, {"to": "BXL", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "rrz", "kind": "ignore"}, {"to": "rrz", "from": "NlO", "kind": "ignore"}, {"to": "D1J", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "eAZ", "kind": "ignore"}, {"to": "eAZ", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "D1J", "kind": "ignore"}, {"to": "WE4", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "WE4", "kind": "ignore"}, {"to": "NlO", "from": "dNE", "kind": "ignore"}, {"to": "dNE", "from": "NlO", "kind": "ignore"}, {"to": "8Rb", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "D1J", "kind": "ignore"}, {"to": "YP4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "YP4", "kind": "ignore"}, {"to": "WE4", "from": "Mrv", "kind": "ignore"}, {"to": "Mrv", "from": "WE4", "kind": "ignore"}, {"to": "WE4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "WE4", "kind": "ignore"}, {"to": "8Rb", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "8Rb", "kind": "ignore"}, {"to": "D1J", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "D1J", "kind": "ignore"}, {"to": "lP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "lP4", "kind": "ignore"}, {"to": "BXL", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "BXL", "kind": "ignore"}, {"to": "RRK", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "RRK", "kind": "ignore"}, {"to": "YP4", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "YP4", "kind": "ignore"}, {"to": "rrz", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "rrz", "kind": "ignore"}, {"to": "5E6", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "5E6", "kind": "ignore"}, {"to": "eAZ", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "eAZ", "kind": "ignore"}, {"to": "dNE", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "dNE", "kind": "ignore"}, {"to": "G5N", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "G5N", "kind": "ignore"}, {"to": "Mrv", "from": "1Jl", "kind": "ignore"}, {"to": "1Jl", "from": "Mrv", "kind": "ignore"}]}, {"id": "GD4", "items": [{"id": "lNP", "data": {"tabs": [{"id": "4kz", "title": "DATETRUNC([Date], \"week\")", "params": {}, "chartId": "dia7dulbcwxc2", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Qnj", "data": {"tabs": [{"id": "6k5", "title": "DATEPART([Date], \"hour\")", "params": {}, "chartId": "bg85bre1z5ik0", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "z2A", "data": {"tabs": [{"id": "yQ3", "title": "Title 1", "params": {}, "chartId": "ch96cr73sjd21", "isDefault": true, "autoHeight": false, "description": "You can add miniature date navigator for line charts in settings of the line chart"}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "6B5", "data": {"title": "Order date", "source": {"isRange": true, "datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "date", "defaultValue": "__interval___relative_-7y___relative_-0d", "datasetFieldId": "3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7"}, "sourceType": "dataset"}, "type": "control", "defaults": {"3dcc4a70-e1f0-11e9-a279-0b30c0a74ab7": "__interval___relative_-7y___relative_-0d"}, "namespace": "default"}, {"id": "oZJ", "data": {"text": "In order to work with dates its important to set data type of fileds to date at datasource. If format you are using is not recognized automatically you can convert the data type using the functions: DATETIME(), DATE(), DATETIME_PARSE(), DATE_PARSE()."}, "type": "text", "namespace": "default"}, {"id": "XEj", "data": {"text": "Date type fields support calendars as selectors and flexible automatic relative dates selections like: last year, last 7 days, last and next 3 months and so on. "}, "type": "text", "namespace": "default"}, {"id": "gev", "data": {"text": "You can group dates in the interface click to left side of field or using functions like DATETRUNC() or DATEPART().\n\n`DATETRUNC([OrderDate], \"WEEK\")` — will truncate date up to weeks\n`DATEPART([OrderDate], \"hour\")` — will return names of hours"}, "type": "text", "namespace": "default"}, {"id": "jPL", "data": {"tabs": [{"id": "p15", "title": "Title 1", "params": {}, "chartId": "ejb8ep80pi163", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "L3R", "data": {"text": "**Rows**:\nMonth - `DATETRUNC([Order date], \"month\")`\nWeek number - `if( week([Order date])>51 and MONTH([Order date])=1, 0, week([Order date]))` -- if statement to get right result at the end of a year\n\n**Columns**:\nDay oof Week - `CASE(DAYOFWEEK([Order date]),1,\"1-Mn\",2,\"2-Tu\",3,\"3-We\",4,\"4-Th\",5,\"5-Fr\",6,\"6-St\",7,\"7-Sn\",\"NA\")`\n\n**Cell**:\nDay - `max(DAY([Order date]))` -- Max is needed to convert it to Measure\n\n**Color**:\n`Sales - SUM([amount])` -- Metric for heatmap"}, "type": "text", "namespace": "default"}, {"id": "e3E", "data": {"size": "m", "text": "Month over Month and AGO()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GAX", "data": {"tabs": [{"id": "dMV", "title": "Title 1", "params": {}, "chartId": "27zw2f553fpqr", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "Ka4", "data": {"text": "Add calculated field `AGO([Sales], [Date Month], ''month'', 1)`. \\[Documentation link\\](https://cloud.yandex.ru/docs/datalens/function-ref/AGO\n\nTo calculate MoM,% create a calculated field `([Sales] - [Ago 1 Month Sales]) / ABS([Ago 1 Month Sales])`\n\nAlso you can use functions LAG() or AT_DATE() for different cases. For example `AT_DATE([Sales],[Date], DATETRUNC([Date],''week''))` will give you Sales at the first date of the week."}, "type": "text", "namespace": "default"}, {"id": "7Ea", "data": {"text": "># **Date functions**"}, "type": "text", "namespace": "default"}, {"id": "Npo", "data": {"size": "m", "text": "Heatmap calendar", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "AY0", "data": {"size": "l", "text": "DATETRUNC() and DATEPART()", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Date functions", "layout": [{"h": 9, "i": "lNP", "w": 8, "x": 20, "y": 14}, {"h": 9, "i": "Qnj", "w": 8, "x": 28, "y": 14}, {"h": 14, "i": "z2A", "w": 20, "x": 0, "y": 9}, {"h": 3, "i": "6B5", "w": 7, "x": 29, "y": 3}, {"h": 3, "i": "oZJ", "w": 17, "x": 0, "y": 3}, {"h": 3, "i": "XEj", "w": 12, "x": 17, "y": 3}, {"h": 5, "i": "gev", "w": 16, "x": 20, "y": 9}, {"h": 16, "i": "jPL", "w": 17, "x": 0, "y": 46}, {"h": 16, "i": "L3R", "w": 19, "x": 17, "y": 46}, {"h": 3, "i": "e3E", "w": 36, "x": 0, "y": 23}, {"h": 17, "i": "GAX", "w": 17, "x": 0, "y": 26}, {"h": 17, "i": "Ka4", "w": 19, "x": 17, "y": 26}, {"h": 3, "i": "7Ea", "w": 36, "x": 0, "y": 0}, {"h": 3, "i": "Npo", "w": 36, "x": 0, "y": 43}, {"h": 3, "i": "AY0", "w": 36, "x": 0, "y": 6}], "aliases": {}, "connections": [{"to": "p15", "from": "6B5", "kind": "ignore"}, {"to": "6B5", "from": "p15", "kind": "ignore"}]}, {"id": "Are", "items": [{"id": "evd", "data": {"tabs": [{"id": "EB3", "title": "Title 1", "params": {}, "chartId": "sxpms3pgygm6h", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "GBp", "data": {"tabs": [{"id": "dWP", "title": "Title 1", "params": {}, "chartId": "af74aq6s79dez", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "7gg", "data": {"tabs": [{"id": "KQn", "title": "Title 1", "params": {}, "chartId": "tyqnt5kbstbsi", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "AMe", "data": {"tabs": [{"id": "d6z", "title": "Title 1", "params": {}, "chartId": "ch96cl4boozy1", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "3g5", "data": {"tabs": [{"id": "MXb", "title": "Title 1", "params": {}, "chartId": "8d528nx6xy7ix", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "aYl", "data": {"tabs": [{"id": "OOe", "title": "Title 1", "params": {}, "chartId": "gldagrksddhm5", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "OO2", "data": {"size": "l", "text": "Top 5", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "J5Z", "data": {"size": "l", "text": "Top 3 for each category", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "pDn", "data": {"size": "m", "text": "Percent of total", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "GB1", "data": {"size": "l", "text": "Percent of total by years and regions", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "KQY", "data": {"size": "m", "text": "Running sum", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7gE", "data": {"size": "l", "text": "Moving average", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "NRY", "data": {"text": "To filter top 5 create calculated filed with `rank([Sales])` function and drug this filed to Filter section.\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "AMA", "data": {"text": "Add calculated field `rank([Sales] WITHIN [Category])` and drag it to Filter section,\n\nYou can find additional info about `RANK` in documentation."}, "type": "text", "namespace": "default"}, {"id": "MX1", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] Total) `.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "3gr", "data": {"text": "Add calculated filed `[Sales] / sum([Sales] WITHIN [Year])`.\n\nYou can find additional info about `SUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "v26", "data": {"text": "Add calculated filed `RSUM([Sales])`.\n\nUsing `RSUM()` requires sort by dimension in Sort section.\n\nYou can find additional info about `RSUM` in documentation."}, "type": "text", "namespace": "default"}, {"id": "aYX", "data": {"text": "Add calculated filed `avg([Sales], 5)`, `mavg([Sales], 5,5)`.\n\nThe moving average allows to smooth outliers in data, for example, in sensor readings. Using `MAVG()` requires sort by dimension in Sort section.\n\nYou can find additional info about `MAVG` in documentation."}, "type": "text", "namespace": "default"}, {"id": "J5E", "data": {"size": "l", "text": "Calculating window function before filtering (Before Filter By feature)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "j2N", "data": {"tabs": [{"id": "pDK", "title": "Title 1", "params": {}, "chartId": "otlio4n8g6zed", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "LnJ", "data": {"size": "l", "text": "Show only top 3 categories (nested window calcualtions)", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "8WP", "data": {"tabs": [{"id": "ZvB", "title": "Title 1", "params": {}, "chartId": "ejb8eut7kkr63", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "4j7", "data": {"text": "In order to get top 3 lines by sales create calculated field `RANK_DENSE(sum([Sales] within [Product category 1]))` and drag it to the filter.\n\nIn this formula, we first count the sum of all points inside the value `[Product category 1]`, then count `RANK_DENSE()`\n\nYou can make window functions nested in each other (in this case, `SUM` and \\`RANK_DENSE''). More complex combinations are also possible.\n\nYou can find additional info about `RANK_DENSE` function in documentation."}, "type": "text", "namespace": "default"}, {"id": "lZk", "data": {"text": "We want to filter several dimension, but calculate percent of total to the values from all dimension without filtering.\n\nAdd calculated filed\n`[Sales] / sum([Sales] within [Order year] before filter by [category_name_level_1])`\nallows you to calculate the percent of each category for the year.\n\nUsing ''before filtering by'' makes filtering by dimension ''\\[category_name_level_1\\]'' occurs after calculating the window function.\n\nFind out details about ''BEFORE FILTER BY'' in documentation."}, "type": "text", "namespace": "default"}, {"id": "n7p", "data": {"text": "Calculated fields are created at the dataset level or at the chart level (will be available only for this chart). In the examples, calculated fields are created at the chart level. You can edit them quickly and immediately see the result on the visualization.\n\nFor a general description of window functions, see documentation."}, "type": "text", "namespace": "default"}, {"id": "Gl4", "data": {"size": "l", "text": "Label only last value", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "7pn", "data": {"tabs": [{"id": "KbO", "title": "Title 1", "params": {}, "chartId": "w1tqwdaymiv2l", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "Nr1", "data": {"text": "Add calculated filed\n\n```sql\nif(\n max([Order month]) = LAST(max([Order month])), --check if point is the last\n [Sales], --if yes, show metric\n null --if no, show nothing\n)\n```\n\nAdd it to Labels section.\n\nYou can find additional info about `MAX` in documentation."}, "type": "text", "namespace": "default"}, {"id": "9YE", "data": {"text": "># **Window functions**"}, "type": "text", "namespace": "default"}], "title": "Window functions", "layout": [{"h": 10, "i": "evd", "w": 16, "x": 0, "y": 9}, {"h": 12, "i": "GBp", "w": 16, "x": 0, "y": 20}, {"h": 12, "i": "7gg", "w": 16, "x": 0, "y": 37}, {"h": 15, "i": "AMe", "w": 16, "x": 0, "y": 48}, {"h": 12, "i": "3g5", "w": 16, "x": 0, "y": 65}, {"h": 16, "i": "aYl", "w": 16, "x": 0, "y": 83}, {"h": 2, "i": "OO2", "w": 36, "x": 0, "y": 7}, {"h": 2, "i": "J5Z", "w": 36, "x": 0, "y": 18}, {"h": 2, "i": "pDn", "w": 36, "x": 0, "y": 35}, {"h": 2, "i": "GB1", "w": 36, "x": 0, "y": 46}, {"h": 2, "i": "KQY", "w": 36, "x": 0, "y": 63}, {"h": 2, "i": "7gE", "w": 36, "x": 0, "y": 81}, {"h": 3, "i": "NRY", "w": 20, "x": 16, "y": 9}, {"h": 4, "i": "AMA", "w": 20, "x": 16, "y": 20}, {"h": 4, "i": "MX1", "w": 20, "x": 16, "y": 37}, {"h": 6, "i": "3gr", "w": 20, "x": 16, "y": 48}, {"h": 4, "i": "v26", "w": 20, "x": 16, "y": 65}, {"h": 7, "i": "aYX", "w": 20, "x": 16, "y": 83}, {"h": 2, "i": "J5E", "w": 36, "x": 0, "y": 144}, {"h": 14, "i": "j2N", "w": 16, "x": 0, "y": 101}, {"h": 2, "i": "LnJ", "w": 36, "x": 0, "y": 99}, {"h": 21, "i": "8WP", "w": 9, "x": 0, "y": 146}, {"h": 14, "i": "4j7", "w": 20, "x": 16, "y": 101}, {"h": 21, "i": "lZk", "w": 27, "x": 9, "y": 146}, {"h": 4, "i": "n7p", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "Gl4", "w": 36, "x": 0, "y": 115}, {"h": 15, "i": "7pn", "w": 16, "x": 0, "y": 117}, {"h": 15, "i": "Nr1", "w": 20, "x": 16, "y": 117}, {"h": 3, "i": "9YE", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "457", "items": [{"id": "lGA", "data": {"tabs": [{"id": "4Q8", "title": "FIXED", "params": {}, "chartId": "qvnkq5oj2gy2f", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "64y", "data": {"size": "l", "text": "Percent of total for COUNTD()", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "QLY", "data": {"text": "Create a calculated field `COUNTD([Client ID]) / COUNTD([Client ID] FIXED)`."}, "type": "text", "namespace": "default"}, {"id": "o6l", "data": {"size": "l", "text": "Double aggregation", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "0a8", "data": {"tabs": [{"id": "XaZ", "title": "INCLUDE", "params": {}, "chartId": "rwolr3bej5gwg", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "grL", "data": {"text": "Calculated field `AVG(COUNT([client ID] INCLUDE [Application date]))` allows you to perform double aggregation: first we count the number of unique buyers by day, then we count the average of them across a month. In this example, the average is calculated by month (see chart measurement). Thus, we got the \"average clients per day\"."}, "type": "text", "namespace": "default"}, {"id": "PGJ", "data": {"text": "Examples of using Level of Detail (LOD) or double aggregation functions in calculated fields. In some cases, LODs are similar to regular window functions. An important difference between LOD functions is the support of the `COUNTD` function."}, "type": "text", "namespace": "default"}, {"id": "Wod", "data": {"text": "># **Level of Details functions**"}, "type": "text", "namespace": "default"}], "title": "Level of detail functions", "layout": [{"h": 16, "i": "lGA", "w": 19, "x": 0, "y": 10}, {"h": 2, "i": "64y", "w": 36, "x": 0, "y": 8}, {"h": 16, "i": "QLY", "w": 17, "x": 19, "y": 10}, {"h": 2, "i": "o6l", "w": 36, "x": 0, "y": 26}, {"h": 16, "i": "0a8", "w": 19, "x": 0, "y": 28}, {"h": 16, "i": "grL", "w": 17, "x": 19, "y": 28}, {"h": 5, "i": "PGJ", "w": 20, "x": 0, "y": 3}, {"h": 3, "i": "Wod", "w": 36, "x": 0, "y": 0}], "aliases": {}, "connections": []}, {"id": "71g", "items": [{"id": "J9l", "data": {"tabs": [{"id": "Obz", "title": "This chart is linked only to the selecot above", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "jn0", "data": {"tabs": [{"id": "p6R", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "ZG6", "data": {"tabs": [{"id": "LbN", "title": "Title 1", "params": {}, "chartId": "y3vsya0uiqbqn", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "84v", "data": {"title": "Main category", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "4Z8", "data": {"title": "Category to compare", "source": {"datasetId": "qvnkqz8s0wdqf", "fieldType": "string", "showTitle": true, "elementType": "select", "datasetFieldId": "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b", "multiselectable": true, "datasetFieldType": "DIMENSION"}, "sourceType": "dataset"}, "type": "control", "defaults": {"45bdfbb6-1dd9-41bd-9871-b011efd8ec6b": ""}, "namespace": "default"}, {"id": "l6A", "data": {"text": "The page provides an example of setting up links between selectors and charts. To change the settings in the dashboard editing mode, click on the \"links\" button on the top panel. This page uses only one chart added multiple times."}, "type": "text", "namespace": "default"}, {"id": "6dy", "data": {"title": "Year", "source": {"datasetId": "qvnkqz8s0wdqf", "showTitle": true, "elementType": "select", "datasetFieldId": "9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2", "multiselectable": true}, "sourceType": "dataset"}, "type": "control", "defaults": {"9cd1cbd0-0ee4-11ec-b9e8-6b5e199aa6f2": ""}, "namespace": "default"}, {"id": "QKY", "data": {"text": "This is the selector that linked to all charts at the tab."}, "type": "text", "namespace": "default"}, {"id": "ojl", "data": {"text": "You can create comparison panels using that approach. "}, "type": "text", "namespace": "default"}, {"id": "XMZ", "data": {"text": " "}, "type": "text", "namespace": "default"}, {"id": "voX", "data": {"size": "l", "text": "The same chart is filtered independently by different selectors ", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "5Y0", "data": {"text": "># **Selectors**"}, "type": "text", "namespace": "default"}], "title": "Selectors", "layout": [{"h": 15, "i": "J9l", "w": 22, "x": 0, "y": 7}, {"h": 15, "i": "jn0", "w": 11, "x": 0, "y": 26}, {"h": 15, "i": "ZG6", "w": 11, "x": 11, "y": 26}, {"h": 2, "i": "84v", "w": 11, "x": 0, "y": 24}, {"h": 2, "i": "4Z8", "w": 11, "x": 11, "y": 24}, {"h": 2, "i": "l6A", "w": 36, "x": 0, "y": 3}, {"h": 2, "i": "6dy", "w": 6, "x": 0, "y": 5}, {"h": 2, "i": "QKY", "w": 30, "x": 6, "y": 5}, {"h": 17, "i": "ojl", "w": 14, "x": 22, "y": 24}, {"h": 15, "i": "XMZ", "w": 14, "x": 22, "y": 7}, {"h": 2, "i": "voX", "w": 36, "x": 0, "y": 22}, {"h": 3, "i": "5Y0", "w": 36, "x": 0, "y": 0}], "aliases": {"default": [["0483c778-3a9a-4f65-8168-1beb8818580f", "45bdfbb6-1dd9-41bd-9871-b011efd8ec6b"]]}, "connections": [{"to": "84v", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "Obz", "kind": "ignore"}, {"to": "Obz", "from": "4Z8", "kind": "ignore"}, {"to": "4Z8", "from": "p6R", "kind": "ignore"}, {"to": "p6R", "from": "4Z8", "kind": "ignore"}, {"to": "84v", "from": "LbN", "kind": "ignore"}, {"to": "LbN", "from": "84v", "kind": "ignore"}, {"to": "4Z8", "from": "84v", "kind": "ignore"}, {"to": "84v", "from": "4Z8", "kind": "ignore"}]}, {"id": "PoW", "items": [{"id": "bdQ", "data": {"tabs": [{"id": "Ral", "title": "Data", "params": {}, "chartId": "491y4hy1jw5yt", "isDefault": true, "autoHeight": false}], "hideTitle": false}, "type": "widget", "namespace": "default"}, {"id": "9Kn", "data": {"tabs": [{"id": "Y1g", "title": "Title 1", "params": {}, "chartId": "sxpmsao0sscqh", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "1kE", "data": {"tabs": [{"id": "roE", "title": "Title 1", "params": {}, "chartId": "fkc9fu79zvxg4", "isDefault": true, "autoHeight": false}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "W15", "data": {"tabs": [{"id": "nde", "title": "Title 1", "params": {}, "chartId": "27zw2juwp5emr", "isDefault": true, "autoHeight": true}], "hideTitle": true}, "type": "widget", "namespace": "default"}, {"id": "k76", "data": {"text": "Cohorts analysis is a common analysis type in product analytics. You can create this type of analysis in DataLens. We need to get a dataset with three fields:\n— Client ID\n— Order date\n— First Order date or Activation date\n\nYou can create such dataset on a database level or using custom SQL in dataset like that:\n```sql\nSELECT\n\t t1.user_id,\n\t t1.order_platform,\n\t date_trunc(''day'', t2.FirstDate) as \"FirstOrderDate\",\n\t date_trunc(''day'', t1.order_creation_date) as \"OrderDate\"\nFROM\n\t \"opensource-demo\".orders as t1,\n\t (SELECT\n\t\t user_id,\n\t\t MIN(order_creation_date) as FirstDate\n\t FROM \"opensource-demo\".orders\n\t GROUP BY user_id) as t2\nWHERE t1.user_id = t2.user_id\n```\n\nThat will result data like on the right side."}, "type": "text", "namespace": "default"}, {"id": "EL4", "data": {"text": "Using `DATETRUNC([FirstOrderDate],''MONTH'')` calculate a First order month. Using `floor(([OrderDate]-[FirstOrderDate])/30)` calculate amount of periods past from first order date. Using COUNTD([Client ID]) calculate number of clients in each cohort. Use this fileds configure a table like that:"}, "type": "text", "namespace": "default"}, {"id": "e1J", "data": {"text": "For accurate analysis it is better to use color coding by columns. That way we will be able to compare same \"age\" cohorts. In order to do so create a filed\n`[COUNTD(Client ID)]/MAX([COUNTD(Client ID)] among [FirstOrder_Month])` and drag it to color setion."}, "type": "text", "namespace": "default"}, {"id": "dlQ", "data": {"text": "To display retention, starting from the period \"1\" (to see what percentage of the original customers remained with active), use the calculated field:\n\n```sql\nif (\n[30d]=0,\nstr(round([COUNT([Client ID])),\nconcat(str(round(100*[Client ID]/RMAX([Client ID] among [30d]))), \"%\")\n)\n```\n\nFor color:\n\n```sql\nif (\n[30d]=0,\n(round([COUNTS])),\n(round(100*[COUNTS]/RMAX([COUNTS] among [30d])))\n)\n```"}, "type": "text", "namespace": "default"}, {"id": "3jP", "data": {"text": "># **Cohorts**"}, "type": "text", "namespace": "default"}, {"id": "v47", "data": {"size": "l", "text": "Data", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "a7L", "data": {"size": "l", "text": "Basic cohorts", "showInTOC": true}, "type": "title", "namespace": "default"}, {"id": "Oj3", "data": {"size": "l", "text": "Retention and cohort size at one chart", "showInTOC": true}, "type": "title", "namespace": "default"}], "title": "Cohorts", "layout": [{"h": 19, "i": "bdQ", "w": 20, "x": 16, "y": 5}, {"h": 25, "i": "9Kn", "w": 24, "x": 0, "y": 30}, {"h": 18, "i": "1kE", "w": 24, "x": 0, "y": 50}, {"h": 27, "i": "W15", "w": 21, "x": 15, "y": 71}, {"h": 19, "i": "k76", "w": 16, "x": 0, "y": 5}, {"h": 3, "i": "EL4", "w": 22, "x": 0, "y": 27}, {"h": 4, "i": "e1J", "w": 24, "x": 0, "y": 46}, {"h": 17, "i": "dlQ", "w": 15, "x": 0, "y": 71}, {"h": 3, "i": "3jP", "w": 36, "x": 0, "y": 0}, {"h": 2, "i": "v47", "w": 36, "x": 0, "y": 3}, {"h": 3, "i": "a7L", "w": 36, "x": 0, "y": 24}, {"h": 3, "i": "Oj3", "w": 36, "x": 0, "y": 68}], "aliases": {}, "connections": []}], "counter": 720, "settings": {"expandTOC": false, "globalParams": {}, "silentLoading": false, "autoupdateInterval": null, "dependentSelectors": true, "maxConcurrentRequests": null}, "description": "This is an example dashboard for [DataLens](https://https://datalens.yandex.ru). You can find detailed feature descriptions on the tabs of the dashboard.", "schemeVersion": 7}', '{"is_release": true}', 'uid:systemId', '2023-11-24 13:49:16.274954+00', 'uid:systemId', '2023-11-24 13:49:16.274954+00', 1560950133770683411, 1507164768509628187, '{"05xu0bafozgep": "05xu0bafozgep", "05xu0e1so1o6p": "05xu0e1so1o6p", "16yxd7gojiacq": "16yxd7gojiacq", "27z4q4cl8umqr": "27z4q4cl8umqr", "27zw2cgw2r12r": "27zw2cgw2r12r", "27zw2cohp6war": "27zw2cohp6war", "27zw2cr72wyir": "27zw2cr72wyir", "27zw2f553fpqr": "27zw2f553fpqr", "27zw2jj0oekyr": "27zw2jj0oekyr", "27zw2juwp5emr": "27zw2juwp5emr", "491y4djzjzumt": "491y4djzjzumt", "491y4ewqzvbut": "491y4ewqzvbut", "491y4hy1jw5yt": "491y4hy1jw5yt", "491y4iy424wmt": "491y4iy424wmt", "6b306hs4db0iv": "6b306hs4db0iv", "6b306i1uz3euv": "6b306i1uz3euv", "8d528nx6xy7ix": "8d528nx6xy7ix", "8d528ok4io2ax": "8d528ok4io2ax", "af74anjr2bqyz": "af74anjr2bqyz", "af74aq6s79dez": "af74aq6s79dez", "bg85bre1z5ik0": "bg85bre1z5ik0", "ch96cl4boozy1": "ch96cl4boozy1", "ch96cmbbxrc21": "ch96cmbbxrc21", "ch96cpyzl3hm1": "ch96cpyzl3hm1", "ch96cr73sjd21": "ch96cr73sjd21", "ch96cs0b54by1": "ch96cs0b54by1", "dia7dulbcwxc2": "dia7dulbcwxc2", "ejb8ep80pi163": "ejb8ep80pi163", "ejb8eqs2fid63": "ejb8eqs2fid63", "ejb8es4ih2ty3": "ejb8es4ih2ty3", "ejb8eut7kkr63": "ejb8eut7kkr63", "fkc9fu79zvxg4": "fkc9fu79zvxg4", "gldagp2ekyge5": "gldagp2ekyge5", "gldagrksddhm5": "gldagrksddhm5", "gldagxhlpx4q5": "gldagxhlpx4q5", "hmebhxanjbz86": "hmebhxanjbz86", "hmebhy1hzd606": "hmebhy1hzd606", "infciq1c89je7": "infciq1c89je7", "infcisd68swu7": "infcisd68swu7", "infciwr6tkfq7": "infciwr6tkfq7", "kphekyrgzony9": "kphekyrgzony9", "lqifl0t8hhrga": "lqifl0t8hhrga", "mrjgm08df0peb": "mrjgm08df0peb", "mrjgm1522opyb": "mrjgm1522opyb", "mrjgmvxq6yo2b": "mrjgmvxq6yo2b", "mrjgmyu6wn56b": "mrjgmyu6wn56b", "nskhn3dhudj0c": "nskhn3dhudj0c", "nskhn3wc2rk8c": "nskhn3wc2rk8c", "nskhn4ak09vwc": "nskhn4ak09vwc", "nskhn5tf9nw4c": "nskhn5tf9nw4c", "otlio1uyld8ud": "otlio1uyld8ud", "otlio209vg4md": "otlio209vg4md", "otlio4n8g6zed": "otlio4n8g6zed", "qvnkq0t05u52f": "qvnkq0t05u52f", "qvnkq3hl9zjyf": "qvnkq3hl9zjyf", "qvnkq51ahceaf": "qvnkq51ahceaf", "qvnkq5oj2gy2f": "qvnkq5oj2gy2f", "qvnkqz8s0wdqf": "qvnkqz8s0wdqf", "rwolr3bej5gwg": "rwolr3bej5gwg", "rwolr4a7460kg": "rwolr4a7460kg", "sxpms29dmzfuh": "sxpms29dmzfuh", "sxpms3j78li2h": "sxpms3j78li2h", "sxpms3pgygm6h": "sxpms3pgygm6h", "sxpms78wdpaqh": "sxpms78wdpaqh", "sxpmsao0sscqh": "sxpmsao0sscqh", "tyqnt5kbstbsi": "tyqnt5kbstbsi", "tyqnt9bovid8i": "tyqnt9bovid8i", "tyqntb2nacawi": "tyqntb2nacawi", "tyqntbjs2y9oi": "tyqntbjs2y9oi", "uzrou89hw5hej": "uzrou89hw5hej", "w1tqwdaymiv2l": "w1tqwdaymiv2l", "x2urxes3f5vwm": "x2urxes3f5vwm", "x2urxfzzoeicm": "x2urxfzzoeicm", "y3vsy9b5iv86n": "y3vsy9b5iv86n", "y3vsy9yj0cb2n": "y3vsy9yj0cb2n", "y3vsya0uiqbqn": "y3vsya0uiqbqn", "y3vsyf3u2yaan": "y3vsyf3u2yaan", "z4wtzfkww8r0o": "z4wtzfkww8r0o", "z4wtzhsv4vxko": "z4wtzhsv4vxko"}'); -INSERT INTO "public"."links" ("from_id", "to_id", "name") VALUES -(1507164769826639651, 1510137996244943888, '21fa32c0-52fe-11ee-a421-656ff8f1cbea'), -(1507164769826639651, 1510137996244943888, '2744dfa0-52fe-11ee-a421-656ff8f1cbea'), -(1507164767695933207, 1510137996244943888, '56eb3842-5302-11ee-85f5-aba80832f682'), -(1507164770061520677, 1507164769826639651, 'dataset'), -(1507164769407209247, 1507164769826639651, 'dataset'), -(1507164769633701665, 1507164769826639651, 'dataset'), -(1507164768249581337, 1507164769826639651, 'dataset'), -(1507164770464173865, 1507164769826639651, 'dataset'), -(1507164770648723243, 1507164769826639651, 'dataset'), -(1507164769197494045, 1507164769826639651, 'dataset'), -(1507164770254458663, 1507164769826639651, 'dataset'), -(1507164771110096687, 1507164769826639651, 'dataset'), -(1507164770850049837, 1507164769826639651, 'dataset'), -(1507164771747630899, 1507164769826639651, 'dataset'), -(1507164773349855041, 1507164769826639651, 'dataset'), -(1507164772947201853, 1507164769826639651, 'dataset'), -(1507164772569714489, 1507164769826639651, 'dataset'), -(1507164772267724599, 1507164769826639651, 'dataset'), -(1507164773123362623, 1507164769826639651, 'dataset'), -(1507164771974123317, 1507164769826639651, 'dataset'), -(1507164772762652475, 1507164769826639651, 'dataset'), -(1507164773542793027, 1507164769826639651, 'dataset'), -(1507164773886725959, 1507164769826639651, 'dataset'), -(1507164775379898195, 1507164769826639651, 'dataset'), -(1507164774415208267, 1507164769826639651, 'dataset'), -(1507164774750752590, 1507164769826639651, 'dataset'), -(1507164775002410831, 1507164769826639651, 'dataset'), -(1507164775186960209, 1507164769826639651, 'dataset'), -(1507164774129995594, 1507164769826639651, 'dataset'), -(1507164773718953797, 1507164769826639651, 'dataset'), -(1507164775564447573, 1507164769826639651, 'dataset'), -(1507164776327810910, 1507164769826639651, 'dataset'), -(1507164778617900916, 1507164769826639651, 'dataset'), -(1507164780035575681, 1507164769826639651, 'dataset'), -(1507164775782551383, 1507164769826639651, 'dataset'), -(1507164777443495785, 1507164769826639651, 'dataset'), -(1507164776151650139, 1507164769826639651, 'dataset'), -(1507164775967100761, 1507164769826639651, 'dataset'), -(1507164782971588511, 1507164769826639651, 'dataset'), -(1507164776512360288, 1507164769826639651, 'dataset'), -(1507164776705298273, 1507164769826639651, 'dataset'), -(1507164776889847651, 1507164769826639651, 'dataset'), -(1507164777074397029, 1507164767695933207, 'dataset'), -(1507164777258946408, 1507164769826639651, 'dataset'), -(1507164777628045163, 1507164769826639651, 'dataset'), -(1507164777820983149, 1507164769826639651, 'dataset'), -(1507164778013921135, 1507164769826639651, 'dataset'), -(1507164779255435129, 1507164769826639651, 'dataset'), -(1507164779666476925, 1507164769826639651, 'dataset'), -(1507164780564057991, 1507164769826639651, 'dataset'), -(1507164779020554103, 1507164769826639651, 'dataset'), -(1507164779851026303, 1507164769826639651, 'dataset'), -(1507164780203347843, 1507164769826639651, 'dataset'), -(1507164780379508613, 1507164769826639651, 'dataset'), -(1507164778810838901, 1507164769826639651, 'dataset'), -(1507164779490316155, 1507164769826639651, 'dataset'), -(1507164780748607369, 1507164769826639651, 'dataset'), -(1507164781302255504, 1507164767695933207, 'dataset'), -(1507164781126094733, 1507164769826639651, 'dataset'), -(1507164780933156747, 1507164769826639651, 'dataset'), -(1507164781478416273, 1507164769826639651, 'dataset'), -(1507164781662965651, 1507164769826639651, 'dataset'), -(1507164781855903637, 1507164769826639651, 'dataset'), -(1507164782317277082, 1507164769826639651, 'dataset'), -(1507164782493437851, 1507164769826639651, 'dataset'), -(1507164782770261917, 1507164769826639651, 'dataset'), -(1507164783164526497, 1507164769826639651, 'dataset'), -(1507164783558791078, 1507164769826639651, 'dataset'), -(1507164783357464484, 1507164769826639651, 'dataset'), -(1507164783944667049, 1507164769826639651, 'dataset'), -(1507164783760117671, 1507164769826639651, 'dataset'), -(1507164784322154413, 1507164769826639651, 'dataset'), -(1507164784498315184, 1507164769826639651, 'dataset'), -(1507164784137605036, 1507164769826639651, 'dataset'), -(1507164784691253169, 1507164769826639651, 'dataset'), -(1507164785051963318, 1507164769826639651, 'dataset'), -(1507164784867413939, 1507164769826639651, 'dataset'), -(1507164785236512696, 1507164769826639651, 'dataset'), -(1507164785655943099, 1507164767695933207, 'dataset'), -(1507164785421062073, 1507164769826639651, 'dataset'), -(1507164786041819072, 1507164769826639651, 'dataset'), -(1507164785857269694, 1507164769826639651, 'dataset'), -(1507164786444472259, 1507164769826639651, 'dataset'), -(1507164786217979841, 1507164769826639651, 'dataset'), -(1507164786629021638, 1507164769826639651, 'dataset'), -(1507164787719540690, 1507164769826639651, 'dataset'), -(1507164787534991312, 1507164769826639651, 'dataset'), -(1507164788273188823, 1507164769826639651, 'dataset'), -(1507164788097028053, 1507164767695933207, 'dataset'), -(1507164787895701460, 1507164769826639651, 'dataset'), -(1507164788449349594, 1507164769826639651, 'dataset'), -(1507164787174281163, 1507164769826639651, 'dataset'), -(1507164786998120393, 1507164769826639651, 'dataset'), -(1507164786805182407, 1507164769826639651, 'dataset'), -(1507164787358830542, 1507164769826639651, 'dataset'), -(1507164788860391390, 1507164769826639651, 'dataset'), -(1507164789036552159, 1507164769826639651, 'dataset'), -(1507164788675842012, 1507164769826639651, 'dataset'), -(1507171345740337126, 1507164769826639651, 'dataset'), -(1507189203752980463, 1507164769826639651, 'dataset'), -(1507164768509628187, 1507164769826639651, 'qvnkqz8s0wdqf'), -(1507164768509628187, 1507164782317277082, 'lqifl0t8hhrga'), -(1507164768509628187, 1507164776889847651, 'qvnkq3hl9zjyf'), -(1507164768509628187, 1507164782971588511, 'mrjgm1522opyb'), -(1507164768509628187, 1507164784498315184, 'nskhn3wc2rk8c'), -(1507164768509628187, 1507164780035575681, 'kphekyrgzony9'), -(1507164768509628187, 1507164784691253169, '8d528ok4io2ax'), -(1507164768509628187, 1507164780379508613, 'otlio209vg4md'), -(1507164768509628187, 1507164783357464484, 'nskhn3dhudj0c'), -(1507164768509628187, 1507164770061520677, 'gldagp2ekyge5'), -(1507164768509628187, 1507164785051963318, 'tyqnt9bovid8i'), -(1507164768509628187, 1507164767695933207, 'infciq1c89je7'), -(1507164768509628187, 1507164773123362623, 'y3vsy9yj0cb2n'), -(1507164768509628187, 1507164782493437851, 'qvnkq51ahceaf'), -(1507164768509628187, 1507164785655943099, '27zw2juwp5emr'), -(1507164768509628187, 1507164788675842012, 'nskhn5tf9nw4c'), -(1507164768509628187, 1507171345740337126, '16yxd7gojiacq'), -(1507164768509628187, 1507189203752980463, '27z4q4cl8umqr'), -(1507164768509628187, 1507164769407209247, 'mrjgmvxq6yo2b'), -(1507164768509628187, 1507164770850049837, 'ch96cmbbxrc21'), -(1507164768509628187, 1507164779666476925, '05xu0e1so1o6p'), -(1507164768509628187, 1507164774415208267, '6b306hs4db0iv'), -(1507164768509628187, 1507164771974123317, 'sxpms29dmzfuh'), -(1507164768509628187, 1507164788449349594, 'x2urxfzzoeicm'), -(1507164768509628187, 1507164780203347843, 'infciwr6tkfq7'), -(1507164768509628187, 1507164785421062073, 'ch96cs0b54by1'), -(1507164768509628187, 1507164772569714489, 'sxpms3j78li2h'), -(1507164768509628187, 1507164788860391390, 'tyqntb2nacawi'), -(1507164768509628187, 1507164773718953797, '05xu0bafozgep'), -(1507164768509628187, 1507164779255435129, '491y4iy424wmt'), -(1507164768509628187, 1507164773886725959, 'y3vsy9b5iv86n'), -(1507164768509628187, 1507164771747630899, '27zw2cgw2r12r'), -(1507164768509628187, 1507164776151650139, 'ejb8eqs2fid63'), -(1507164768509628187, 1507164787358830542, 'hmebhy1hzd606'), -(1507164768509628187, 1507164771110096687, 'qvnkq0t05u52f'), -(1507164768509628187, 1507164785236512696, 'z4wtzfkww8r0o'), -(1507164768509628187, 1507164775002410831, '6b306i1uz3euv'), -(1507164768509628187, 1507164778810838901, 'ch96cpyzl3hm1'), -(1507164768509628187, 1507164785857269694, 'x2urxes3f5vwm'), -(1507164768509628187, 1507164786217979841, 'gldagxhlpx4q5'), -(1507164768509628187, 1507164786444472259, 'y3vsyf3u2yaan'), -(1507164768509628187, 1507164772267724599, '27zw2cohp6war'), -(1507164768509628187, 1507164778617900916, 'rwolr4a7460kg'), -(1507164768509628187, 1507164787534991312, 'nskhn4ak09vwc'), -(1507164768509628187, 1507164770254458663, '27zw2cr72wyir'), -(1507164768509628187, 1507164777820983149, 'otlio1uyld8ud'), -(1507164768509628187, 1507164778013921135, 'af74anjr2bqyz'), -(1507164768509628187, 1507164787174281163, '27zw2jj0oekyr'), -(1507164768509628187, 1507164774129995594, 'x2urx8e5by90m'), -(1507164768509628187, 1507164783558791078, 'hmebhxanjbz86'), -(1507164768509628187, 1507164779020554103, 'ejb8es4ih2ty3'), -(1507164768509628187, 1507164775782551383, 'mrjgmyu6wn56b'), -(1507164768509628187, 1507164780933156747, 'mrjgm08df0peb'), -(1507164768509628187, 1507164782770261917, 'sxpms78wdpaqh'), -(1507164768509628187, 1507164783164526497, '05xu0fmnbe0up'), -(1507164768509628187, 1507164787895701460, 'z4wtzhsv4vxko'), -(1507164768509628187, 1507164776705298273, 'ch96co0501xy1'), -(1507164768509628187, 1507164770648723243, 'infcisd68swu7'), -(1507164768509628187, 1507164787719540690, 'tyqntbjs2y9oi'), -(1507164768509628187, 1507164780564057991, 'uzrou89hw5hej'), -(1507164768509628187, 1507164769633701665, '491y4djzjzumt'), -(1507164768509628187, 1507164770464173865, '491y4ewqzvbut'), -(1507164768509628187, 1507164786629021638, 'dia7dulbcwxc2'), -(1507164768509628187, 1507164784137605036, 'bg85bre1z5ik0'), -(1507164768509628187, 1507164781478416273, 'ch96cr73sjd21'), -(1507164768509628187, 1507164772762652475, 'ejb8ep80pi163'), -(1507164768509628187, 1507164777628045163, '27zw2f553fpqr'), -(1507164768509628187, 1507164772947201853, 'sxpms3pgygm6h'), -(1507164768509628187, 1507164783760117671, 'af74aq6s79dez'), -(1507164768509628187, 1507164774750752590, 'tyqnt5kbstbsi'), -(1507164768509628187, 1507164768249581337, 'ch96cl4boozy1'), -(1507164768509628187, 1507164781126094733, '8d528nx6xy7ix'), -(1507164768509628187, 1507164773349855041, 'gldagrksddhm5'), -(1507164768509628187, 1507164783944667049, 'otlio4n8g6zed'), -(1507164768509628187, 1507164784867413939, 'ejb8eut7kkr63'), -(1507164768509628187, 1507164786998120393, 'w1tqwdaymiv2l'), -(1507164768509628187, 1507164775967100761, '05xu0cbm5lr6p'), -(1507164768509628187, 1507164781662965651, 'qvnkq5oj2gy2f'), -(1507164768509628187, 1507164776512360288, 'rwolr3bej5gwg'), -(1507164768509628187, 1507164779490316155, 'uzrou8sqm5zaj'), -(1507164768509628187, 1507164775379898195, 'y3vsya0uiqbqn'), -(1507164768509628187, 1507164777074397029, '491y4hy1jw5yt'), -(1507164768509628187, 1507164788097028053, 'sxpmsao0sscqh'), -(1507164768509628187, 1507164781302255504, 'fkc9fu79zvxg4'); +INSERT INTO public.links (from_id, to_id, name) VALUES + (1507164770061520677, 1507164769826639651, 'dataset'), + (1507164769407209247, 1507164769826639651, 'dataset'), + (1507164769633701665, 1507164769826639651, 'dataset'), + (1507164768249581337, 1507164769826639651, 'dataset'), + (1507164770464173865, 1507164769826639651, 'dataset'), + (1507164770648723243, 1507164769826639651, 'dataset'), + (1507164769197494045, 1507164769826639651, 'dataset'), + (1507164770254458663, 1507164769826639651, 'dataset'), + (1507164771110096687, 1507164769826639651, 'dataset'), + (1507164770850049837, 1507164769826639651, 'dataset'), + (1507164771747630899, 1507164769826639651, 'dataset'), + (1507164773349855041, 1507164769826639651, 'dataset'), + (1507164772947201853, 1507164769826639651, 'dataset'), + (1507164772569714489, 1507164769826639651, 'dataset'), + (1507164772267724599, 1507164769826639651, 'dataset'), + (1507164773123362623, 1507164769826639651, 'dataset'), + (1507164771974123317, 1507164769826639651, 'dataset'), + (1507164772762652475, 1507164769826639651, 'dataset'), + (1507164773542793027, 1507164769826639651, 'dataset'), + (1507164773886725959, 1507164769826639651, 'dataset'), + (1507164775379898195, 1507164769826639651, 'dataset'), + (1507164774415208267, 1507164769826639651, 'dataset'), + (1507164774750752590, 1507164769826639651, 'dataset'), + (1507164775002410831, 1507164769826639651, 'dataset'), + (1507164775186960209, 1507164769826639651, 'dataset'), + (1507164774129995594, 1507164769826639651, 'dataset'), + (1507164773718953797, 1507164769826639651, 'dataset'), + (1507164775564447573, 1507164769826639651, 'dataset'), + (1507164776327810910, 1507164769826639651, 'dataset'), + (1507164778617900916, 1507164769826639651, 'dataset'), + (1507164780035575681, 1507164769826639651, 'dataset'), + (1507164775782551383, 1507164769826639651, 'dataset'), + (1507164777443495785, 1507164769826639651, 'dataset'), + (1507164776151650139, 1507164769826639651, 'dataset'), + (1507164775967100761, 1507164769826639651, 'dataset'), + (1507164782971588511, 1507164769826639651, 'dataset'), + (1507164776512360288, 1507164769826639651, 'dataset'), + (1507164776705298273, 1507164769826639651, 'dataset'), + (1507164776889847651, 1507164769826639651, 'dataset'), + (1507164777074397029, 1507164767695933207, 'dataset'), + (1507164777258946408, 1507164769826639651, 'dataset'), + (1507164777628045163, 1507164769826639651, 'dataset'), + (1507164777820983149, 1507164769826639651, 'dataset'), + (1507164778013921135, 1507164769826639651, 'dataset'), + (1507164779255435129, 1507164769826639651, 'dataset'), + (1507164779666476925, 1507164769826639651, 'dataset'), + (1507164780564057991, 1507164769826639651, 'dataset'), + (1507164779020554103, 1507164769826639651, 'dataset'), + (1507164779851026303, 1507164769826639651, 'dataset'), + (1507164780203347843, 1507164769826639651, 'dataset'), + (1507164780379508613, 1507164769826639651, 'dataset'), + (1507164778810838901, 1507164769826639651, 'dataset'), + (1507164779490316155, 1507164769826639651, 'dataset'), + (1507164780748607369, 1507164769826639651, 'dataset'), + (1507164781302255504, 1507164767695933207, 'dataset'), + (1507164781126094733, 1507164769826639651, 'dataset'), + (1507164780933156747, 1507164769826639651, 'dataset'), + (1507164781478416273, 1507164769826639651, 'dataset'), + (1507164781662965651, 1507164769826639651, 'dataset'), + (1507164781855903637, 1507164769826639651, 'dataset'), + (1507164782317277082, 1507164769826639651, 'dataset'), + (1507164782493437851, 1507164769826639651, 'dataset'), + (1507164782770261917, 1507164769826639651, 'dataset'), + (1507164783164526497, 1507164769826639651, 'dataset'), + (1507164783558791078, 1507164769826639651, 'dataset'), + (1507164783357464484, 1507164769826639651, 'dataset'), + (1507164783944667049, 1507164769826639651, 'dataset'), + (1507164783760117671, 1507164769826639651, 'dataset'), + (1507164784322154413, 1507164769826639651, 'dataset'), + (1507164784498315184, 1507164769826639651, 'dataset'), + (1507164784137605036, 1507164769826639651, 'dataset'), + (1507164784691253169, 1507164769826639651, 'dataset'), + (1507164785051963318, 1507164769826639651, 'dataset'), + (1507164784867413939, 1507164769826639651, 'dataset'), + (1507164785236512696, 1507164769826639651, 'dataset'), + (1507164785655943099, 1507164767695933207, 'dataset'), + (1507164785421062073, 1507164769826639651, 'dataset'), + (1507164786041819072, 1507164769826639651, 'dataset'), + (1507164785857269694, 1507164769826639651, 'dataset'), + (1507164786444472259, 1507164769826639651, 'dataset'), + (1507164786217979841, 1507164769826639651, 'dataset'), + (1507164786629021638, 1507164769826639651, 'dataset'), + (1507164787719540690, 1507164769826639651, 'dataset'), + (1507164787534991312, 1507164769826639651, 'dataset'), + (1507164788273188823, 1507164769826639651, 'dataset'), + (1507164788097028053, 1507164767695933207, 'dataset'), + (1507164787895701460, 1507164769826639651, 'dataset'), + (1507164788449349594, 1507164769826639651, 'dataset'), + (1507164787174281163, 1507164769826639651, 'dataset'), + (1507164786998120393, 1507164769826639651, 'dataset'), + (1507164786805182407, 1507164769826639651, 'dataset'), + (1507164787358830542, 1507164769826639651, 'dataset'), + (1507164788860391390, 1507164769826639651, 'dataset'), + (1507164789036552159, 1507164769826639651, 'dataset'), + (1507164788675842012, 1507164769826639651, 'dataset'), + (1507171345740337126, 1507164769826639651, 'dataset'), + (1507189203752980463, 1507164769826639651, 'dataset'), + (1507164769826639651, 1560944148196885505, 'a8eb19e0-8ace-11ee-affd-8fdf6cc2041c'), + (1507164769826639651, 1560944148196885505, 'af0301d0-8ace-11ee-affd-8fdf6cc2041c'), + (1507164767695933207, 1560944148196885505, '56eb3842-5302-11ee-85f5-aba80832f682'); +INSERT INTO public.links (from_id, to_id, name) VALUES + (1507164768509628187, 1507164769826639651, 'qvnkqz8s0wdqf'), + (1507164768509628187, 1507164782317277082, 'lqifl0t8hhrga'), + (1507164768509628187, 1507164776889847651, 'qvnkq3hl9zjyf'), + (1507164768509628187, 1507164782971588511, 'mrjgm1522opyb'), + (1507164768509628187, 1507164784498315184, 'nskhn3wc2rk8c'), + (1507164768509628187, 1507164780035575681, 'kphekyrgzony9'), + (1507164768509628187, 1507164784691253169, '8d528ok4io2ax'), + (1507164768509628187, 1507164780379508613, 'otlio209vg4md'), + (1507164768509628187, 1507164783357464484, 'nskhn3dhudj0c'), + (1507164768509628187, 1507164770061520677, 'gldagp2ekyge5'), + (1507164768509628187, 1507164785051963318, 'tyqnt9bovid8i'), + (1507164768509628187, 1507164767695933207, 'infciq1c89je7'), + (1507164768509628187, 1507164773123362623, 'y3vsy9yj0cb2n'), + (1507164768509628187, 1507164782493437851, 'qvnkq51ahceaf'), + (1507164768509628187, 1507164785655943099, '27zw2juwp5emr'), + (1507164768509628187, 1507164788675842012, 'nskhn5tf9nw4c'), + (1507164768509628187, 1507171345740337126, '16yxd7gojiacq'), + (1507164768509628187, 1507189203752980463, '27z4q4cl8umqr'), + (1507164768509628187, 1507164769407209247, 'mrjgmvxq6yo2b'), + (1507164768509628187, 1507164770850049837, 'ch96cmbbxrc21'), + (1507164768509628187, 1507164779666476925, '05xu0e1so1o6p'), + (1507164768509628187, 1507164774415208267, '6b306hs4db0iv'), + (1507164768509628187, 1507164771974123317, 'sxpms29dmzfuh'), + (1507164768509628187, 1507164788449349594, 'x2urxfzzoeicm'), + (1507164768509628187, 1507164780203347843, 'infciwr6tkfq7'), + (1507164768509628187, 1507164785421062073, 'ch96cs0b54by1'), + (1507164768509628187, 1507164772569714489, 'sxpms3j78li2h'), + (1507164768509628187, 1507164788860391390, 'tyqntb2nacawi'), + (1507164768509628187, 1507164773718953797, '05xu0bafozgep'), + (1507164768509628187, 1507164779255435129, '491y4iy424wmt'), + (1507164768509628187, 1507164773886725959, 'y3vsy9b5iv86n'), + (1507164768509628187, 1507164771747630899, '27zw2cgw2r12r'), + (1507164768509628187, 1507164776151650139, 'ejb8eqs2fid63'), + (1507164768509628187, 1507164787358830542, 'hmebhy1hzd606'), + (1507164768509628187, 1507164771110096687, 'qvnkq0t05u52f'), + (1507164768509628187, 1507164785236512696, 'z4wtzfkww8r0o'), + (1507164768509628187, 1507164775002410831, '6b306i1uz3euv'), + (1507164768509628187, 1507164778810838901, 'ch96cpyzl3hm1'), + (1507164768509628187, 1507164785857269694, 'x2urxes3f5vwm'), + (1507164768509628187, 1507164786217979841, 'gldagxhlpx4q5'), + (1507164768509628187, 1507164786444472259, 'y3vsyf3u2yaan'), + (1507164768509628187, 1507164772267724599, '27zw2cohp6war'), + (1507164768509628187, 1507164778617900916, 'rwolr4a7460kg'), + (1507164768509628187, 1507164787534991312, 'nskhn4ak09vwc'), + (1507164768509628187, 1507164770254458663, '27zw2cr72wyir'), + (1507164768509628187, 1507164777820983149, 'otlio1uyld8ud'), + (1507164768509628187, 1507164778013921135, 'af74anjr2bqyz'), + (1507164768509628187, 1507164787174281163, '27zw2jj0oekyr'), + (1507164768509628187, 1507164783558791078, 'hmebhxanjbz86'), + (1507164768509628187, 1507164779020554103, 'ejb8es4ih2ty3'), + (1507164768509628187, 1507164775782551383, 'mrjgmyu6wn56b'), + (1507164768509628187, 1507164780933156747, 'mrjgm08df0peb'), + (1507164768509628187, 1507164782770261917, 'sxpms78wdpaqh'), + (1507164768509628187, 1507164787895701460, 'z4wtzhsv4vxko'), + (1507164768509628187, 1507164770648723243, 'infcisd68swu7'), + (1507164768509628187, 1507164787719540690, 'tyqntbjs2y9oi'), + (1507164768509628187, 1507164780564057991, 'uzrou89hw5hej'), + (1507164768509628187, 1507164769633701665, '491y4djzjzumt'), + (1507164768509628187, 1507164770464173865, '491y4ewqzvbut'), + (1507164768509628187, 1507164786629021638, 'dia7dulbcwxc2'), + (1507164768509628187, 1507164784137605036, 'bg85bre1z5ik0'), + (1507164768509628187, 1507164781478416273, 'ch96cr73sjd21'), + (1507164768509628187, 1507164772762652475, 'ejb8ep80pi163'), + (1507164768509628187, 1507164777628045163, '27zw2f553fpqr'), + (1507164768509628187, 1507164772947201853, 'sxpms3pgygm6h'), + (1507164768509628187, 1507164783760117671, 'af74aq6s79dez'), + (1507164768509628187, 1507164774750752590, 'tyqnt5kbstbsi'), + (1507164768509628187, 1507164768249581337, 'ch96cl4boozy1'), + (1507164768509628187, 1507164781126094733, '8d528nx6xy7ix'), + (1507164768509628187, 1507164773349855041, 'gldagrksddhm5'), + (1507164768509628187, 1507164783944667049, 'otlio4n8g6zed'), + (1507164768509628187, 1507164784867413939, 'ejb8eut7kkr63'), + (1507164768509628187, 1507164786998120393, 'w1tqwdaymiv2l'), + (1507164768509628187, 1507164781662965651, 'qvnkq5oj2gy2f'), + (1507164768509628187, 1507164776512360288, 'rwolr3bej5gwg'), + (1507164768509628187, 1507164775379898195, 'y3vsya0uiqbqn'), + (1507164768509628187, 1507164777074397029, '491y4hy1jw5yt'), + (1507164768509628187, 1507164788097028053, 'sxpmsao0sscqh'), + (1507164768509628187, 1507164781302255504, 'fkc9fu79zvxg4'); diff --git a/src/db/migrations/20231201120709_add_mirrored_column.ts b/src/db/migrations/20231201120709_add_mirrored_column.ts new file mode 100644 index 00000000..ca2cfa29 --- /dev/null +++ b/src/db/migrations/20231201120709_add_mirrored_column.ts @@ -0,0 +1,13 @@ +import {Knex} from 'knex'; + +export async function up(knex: Knex): Promise { + return knex.raw(` + ALTER TABLE entries ADD COLUMN mirrored BOOLEAN DEFAULT false; + `); +} + +export async function down(knex: Knex): Promise { + return knex.raw(` + ALTER TABLE entries DROP COLUMN mirrored; + `); +} diff --git a/src/services/new/entry/get-entry.ts b/src/services/new/entry/get-entry.ts index 9df44e1c..c1dccb97 100644 --- a/src/services/new/entry/get-entry.ts +++ b/src/services/new/entry/get-entry.ts @@ -62,7 +62,7 @@ export const getEntry = async ( const {DLS} = registry.common.classes.get(); - const {isPrivateRoute, user, onlyPublic, embeddingInfo} = ctx.get('info'); + const {isPrivateRoute, user, onlyPublic, onlyMirrored, embeddingInfo} = ctx.get('info'); if (!skipValidation) { validateArgs(args); @@ -92,6 +92,10 @@ export const getEntry = async ( if (onlyPublic) { builder.andWhere({public: true}); } + + if (onlyMirrored) { + builder.andWhere({mirrored: true}); + } }, joinRevisionArgs: { revId, @@ -113,7 +117,8 @@ export const getEntry = async ( let iamPermissions: Optional; if (joinedEntryRevisionFavorite.workbookId) { - const checkWorkbookEnabled = !isPrivateRoute && !onlyPublic && !isEmbedding; + const checkWorkbookEnabled = + !isPrivateRoute && !onlyPublic && !onlyMirrored && !isEmbedding; if (checkWorkbookEnabled) { const workbook = await getWorkbook( @@ -134,9 +139,14 @@ export const getEntry = async ( } } else { const checkPermissionEnabled = - !dlsBypassByKeyEnabled && !isPrivateRoute && ctx.config.dlsEnabled && !onlyPublic; - - const checkEntryEnabled = !isPrivateRoute && !onlyPublic && !isEmbedding; + !dlsBypassByKeyEnabled && + !isPrivateRoute && + ctx.config.dlsEnabled && + !onlyPublic && + !onlyMirrored; + + const checkEntryEnabled = + !isPrivateRoute && !onlyPublic && !onlyMirrored && !isEmbedding; if (checkPermissionEnabled) { dlsPermissions = await DLS.checkPermission( diff --git a/src/types/ctx.ts b/src/types/ctx.ts index 16380c28..734b9026 100644 --- a/src/types/ctx.ts +++ b/src/types/ctx.ts @@ -21,6 +21,7 @@ export type CtxInfo = { isPrivateRoute: boolean; dlContext: string; onlyPublic: boolean; + onlyMirrored?: boolean; privatePermissions: PrivatePermissions; projectId: string | null; embeddingInfo?: EmbeddingInfo;